All three, if, and how, and when.
If a central banks pays back the loan? I'll give you a hint, if the foreign banks don't pay back their central bank, their central bank can still print money to buy the dollars to pay back the Fed.
How? By printing.
When? When their dollar liquidity issue recedes.