Well, you could presumably at least use web-sys for interacting with the DOM and wasm-bindgen in general for generating the boilerplate.
But yeah, there might not be a pre-made library for interacting with the extension API, so might need to write your own JS←→WASM bindings.