export declare class GoWasm { constructor(); importObject: WebAssembly.Imports; run(instance: WebAssembly.Instance): void; } export type SkyMavisMpc = { signMessage: () => ActionHandler; keygen: () => ActionHandler; }; export type ActionHandler = { do: (agrs: string) => Promise; isConnClosed: () => boolean; rx: () => Promise; tx: (args: Uint8Array) => void; }; type Kind = "authenticate" | "mpc_protocol" | "error" | "done"; export type HandlerRxResult = { kind: Kind; data: string; }; export type HandlerTxParams = { kind: Kind; data: unknown; }; export type SignHandlerDoResult = { data: { signature: string; }; }; export type KeygenHandlerDoResponse = { data: { key: string; }; }; export {};