#[wasm_bindgen]
extern "C" {
#[wasm-bindgen(js_name="name-of-exported-struct")]
pub type rust-imported-class;
#[wasm-bindgen(constructor)]
pub fn new()
pub fn example(this: &rust-imported-class, item:i32);
// All methods from the class
}