Same thing happened to me.
Offered a position but had to part with 20K+ for the type rating which I found to be a little insulting given my experience which I thought would be valuable.
I really hope the tide changes soon regarding airline recruitment where the managers and bean counters no longer look at their potential workforce as "customers" who they can gain another source of income from.
XL seemed like a good company to work for and I would have liked the opportunity but I am not ready to part with a fortune for the priviledge - they seem quite nice but they aint that nice.
Spanwise.