import { InitInput } from "./pkg/mpc_wasm"; import { Keypair, LoadOptions, SignParams } from "./types"; export declare const setWasmInit: (arg: () => InitInput) => void; export declare class SafematrixAuthMpc { static initialize: (options?: LoadOptions) => Promise; /** * generate new public key * @param thread mpc thread value * @param total mpc total value */ generate(thread: number, total: number, engine?: string): Keypair[]; /** * sign message with mpc public key * @param params */ sign(params: SignParams, engine?: string): Uint8Array[]; /** * recover key * @param keys */ recover(keys: Keypair[], engine?: string): Keypair[]; address(key: Keypair, engine?: string): string; secretKey(keys: Keypair[], engine?: string): string; private parseResult; }