If you declare bankruptcy, your creditors absorb whatever losses are unrecoverable. So it would depend on who is lending them the money.