Rust/wasm <-> scalajs?

Is there something like typescript-definitions 0.1.1 - Docs.rs but for scalajs?

In particular, I am looking for a way to do Rust structure <-> json, but then also generate a typed declaration of the types for scalajs.