export function ecdsaKeygen(room_uuid: string, host_addr: string, num_parties: number, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ecdsaSign(room_uuid: string, host_addr: string, secret_share: string, msg_hex: string, derivation_path: Uint32Array): Promise<string>;
export function ecdsaRefresh(room_uuid: string, host_addr: string, secret_share: string): Promise<KeygenResult>;
export function ecdsaReshareNewParty(room_uuid: string, host_addr: string, _old_threshold: number, new_threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ecdsaReshareRemainingParty(room_uuid: string, host_addr: string, new_threshold: number, secret_share: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ecdsaDerivePubkey(secret_share: string, derivation_path: Uint32Array): Promise<string>;
export function ecdsaGetXpub(secret_share: string): Promise<string>;
export function ecdsaDerivePubkeyFromXpub(xpub: string, derivation_path: Uint32Array): Promise<string>;
export function ecdsaGetExportID(secret_share: string): Promise<string>;
export function ecdsaExportFullPrivateKey(room_uuid: string, host_addr: string, secret_share: string, export_to: string): Promise<string | undefined>;
export function ecdsaOfflineExportFullPrivateKey(secret_shares: string[]): Promise<string>;
export function ecdsaDerivePrivateKeyFromXpriv(xpriv: string, derivation_path: Uint32Array): Promise<string>;
export function ecdsaImportPrivateKeyRecipient(room_uuid: string, host_addr: string, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ecdsaImportPrivateKeyImporter(room_uuid: string, host_addr: string, threshold: number, private_key_hex: string, keygen_secret: string, keygen_ids: string[], chaincode_hex: string): Promise<KeygenResult>;
export function bip340Keygen(room_uuid: string, host_addr: string, num_parties: number, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function bip340Sign(room_uuid: string, host_addr: string, secret_share: string, msg_hex: string, derivation_path: Uint32Array, opt_tweak: string): Promise<string>;
export function bip340Refresh(room_uuid: string, host_addr: string, secret_share: string): Promise<KeygenResult>;
export function bip340ReshareNewParty(room_uuid: string, host_addr: string, _old_threshold: number, new_threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function bip340ReshareRemainingParty(room_uuid: string, host_addr: string, new_threshold: number, secret_share: string, keygen_ids: string[]): Promise<KeygenResult>;
export function bip340DeriveTweakPubkey(secret_share: string, derivation_path: Uint32Array, opt_tweak: string): Promise<string>;
export function bip340GetXpub(secret_share: string): Promise<string>;
export function bip340DeriveTweakPubkeyFromXpub(xpub: string, derivation_path: Uint32Array, opt_tweak: string): Promise<string>;
export function bip340GetExportID(secret_share: string): Promise<string>;
export function bip340ExportFullPrivateKey(room_uuid: string, host_addr: string, secret_share: string, export_to: string): Promise<string | undefined>;
export function bip340OfflineExportFullPrivateKey(secret_shares: string[]): Promise<string>;
export function bip340DerivePrivateKeyFromXpriv(xpriv: string, derivation_path: Uint32Array): Promise<string>;
export function bip340ImportPrivateKeyRecipient(room_uuid: string, host_addr: string, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function bip340ImportPrivateKeyImporter(room_uuid: string, host_addr: string, threshold: number, private_key_hex: string, keygen_secret: string, keygen_ids: string[], chaincode_hex: string): Promise<KeygenResult>;
export function sr25519Keygen(room_uuid: string, host_addr: string, num_parties: number, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function sr25519Sign(room_uuid: string, host_addr: string, secret_share: string, msg_hex: string, derivation_path: string[]): Promise<string>;
export function sr25519Refresh(room_uuid: string, host_addr: string, secret_share: string): Promise<KeygenResult>;
export function sr25519ReshareNewParty(room_uuid: string, host_addr: string, _old_threshold: number, new_threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function sr25519ReshareRemainingParty(room_uuid: string, host_addr: string, new_threshold: number, secret_share: string, keygen_ids: string[]): Promise<KeygenResult>;
export function sr25519DerivePubkey(secret_share: string, derivation_path: string[]): Promise<string>;
export function sr25519GetPubkey(secret_share: string): Promise<string>;
export function sr25519DerivePubkeyFromPubkey(pubkey: string, derivation_path: string[]): Promise<string>;
export function sr25519GetExportID(secret_share: string): Promise<string>;
export function sr25519ExportFullPrivateKey(room_uuid: string, host_addr: string, secret_share: string, export_to: string): Promise<string | undefined>;
export function sr25519OfflineExportFullPrivateKey(secret_shares: string[]): Promise<string>;
export function sr25519DerivePrivateKeyFromPrivateKey(private_key: string, derivation_path: string[], is_private_key_raw: boolean): Promise<string>;
export function sr25519ImportPrivateKeyRecipient(room_uuid: string, host_addr: string, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function sr25519ImportPrivateKeyImporter(room_uuid: string, host_addr: string, threshold: number, private_key_hex: string, keygen_secret: string, keygen_ids: string[], is_private_key_raw: boolean): Promise<KeygenResult>;
export function createRoom(host_addr: string, num_parties: number, api_token: string): Promise<string>;
export function initKeygen(): Promise<KeygenInit>;
export function start(): void;
export function ed25519Keygen(room_uuid: string, host_addr: string, num_parties: number, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ed25519Sign(room_uuid: string, host_addr: string, secret_share: string, msg_hex: string, derivation_path: Uint32Array): Promise<string>;
export function ed25519Refresh(room_uuid: string, host_addr: string, secret_share: string): Promise<KeygenResult>;
export function ed25519ReshareNewParty(room_uuid: string, host_addr: string, _old_threshold: number, new_threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ed25519ReshareRemainingParty(room_uuid: string, host_addr: string, new_threshold: number, secret_share: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ed25519DerivePubkey(secret_share: string, derivation_path: Uint32Array): Promise<string>;
export function ed25519GetSpub(secret_share: string): Promise<string>;
export function ed25519DerivePubkeyFromSpub(spub: string, derivation_path: Uint32Array): Promise<string>;
export function ed25519GetExportID(secret_share: string): Promise<string>;
export function ed25519ExportFullPrivateKey(room_uuid: string, host_addr: string, secret_share: string, export_to: string): Promise<string | undefined>;
export function ed25519OfflineExportFullPrivateKey(secret_shares: string[]): Promise<string>;
export function ed25519DerivePrivateKeyFromSpriv(spriv: string, derivation_path: Uint32Array): Promise<string>;
export function ed25519ImportPrivateKeyRecipient(room_uuid: string, host_addr: string, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function ed25519ImportPrivateKeyImporter(room_uuid: string, host_addr: string, threshold: number, private_key_hex: string, keygen_secret: string, keygen_ids: string[], is_private_key_raw: boolean): Promise<KeygenResult>;
export function exportableEd25519SampleKey(room_uuid: string, host_addr: string, num_parties: number, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function exportableEd25519ReceiveKey(room_uuid: string, host_addr: string, num_parties: number, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function exportableEd25519Sign(room_uuid: string, host_addr: string, secret_share: string, msg_hex: string): Promise<string>;
export function exportableEd25519Refresh(room_uuid: string, host_addr: string, secret_share: string): Promise<KeygenResult>;
export function exportableEd25519ReshareNewParty(room_uuid: string, host_addr: string, _old_threshold: number, new_threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function exportableEd25519ReshareRemainingParty(room_uuid: string, host_addr: string, new_threshold: number, secret_share: string, keygen_ids: string[]): Promise<KeygenResult>;
export function exportableEd25519GetPubkey(secret_share: string): Promise<string>;
export function exportableEd25519GetExportID(secret_share: string): Promise<string>;
export function exportableEd25519ExportFullPrivateKey(room_uuid: string, host_addr: string, secret_share: string, export_to: string): Promise<string | undefined>;
export function exportableEd25519OfflineExportFullPrivateKey(secret_shares: string[]): Promise<string>;
export function exportableEd25519ImportPrivateKeyRecipient(room_uuid: string, host_addr: string, threshold: number, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export function exportableEd25519ImportPrivateKeyImporter(room_uuid: string, host_addr: string, threshold: number, private_key_hex: string, keygen_secret: string, keygen_ids: string[]): Promise<KeygenResult>;
export class KeygenInit {
    static __wrap(ptr: any): any;
        constructor(keypair: string, pubkey: string);
    __destroy_into_raw(): number;
    __wbg_ptr: number;
    free(): void;
        get keypair(): string;
        get pubkey(): string;
}
export class KeygenResult {
    static __wrap(ptr: any): any;
    __destroy_into_raw(): number | undefined;
    __wbg_ptr: number | undefined;
    free(): void;
        get secret_share(): string;
        get pubkey(): string;
}
export default __wbg_init;
export function initSync(module: any): any;
declare function __wbg_init(module_or_path: any): Promise<any>;
