Get it on paper that they WILL hire you when/if you pass the type-checkride. I don't know how to ensure that they will cover your costs if they decide halfway through not to hire you. You could also go 50/50 with a training bond agreement (legally worthless, but shows goodwill and faith from both parties)..
Whos says they won't hire somebody else who IS typed, and IS experienced whilst you are off doing your training.
I think it sucks that you have to pay, and I would hate to sit in the end with no job, rated with zero experience on type and a huge bill to pay..
Who me, a pessimist?..