How to change .babylon file to TypeScript Code

Hello Dear Community!

I have mesh saved in the .babylon file, and I’m using ImportMeshAsync. Because of some business limitations, I cannot make any XHR requests from my code.

What would be the best way to transform .babylon file to TypeScript code?.

Maybe relying on base64 or blob urls ?