Someone asked this before, it needs a little love but
https://github.com/GitLiveApp/firebase-kotlin-sdk is the go to right now.
They don't cover the whole API and I don't think a wasm target yet (although wasm should be able to use the JS target too, haven't tried)