UNPKG

@oraichain/multifactors.js

Version:

Handle communication with multifactors nodes

11 lines (10 loc) 657 B
/// <reference types="node" /> import { KeyLookupResult } from "./interfaces"; export declare class GetOrSetNonceError extends Error { } export declare const kCombinations: (s: number | number[], k: number) => number[][]; export declare const thresholdSame: <T>(arr: T[], t: number) => T; export declare const keyLookup: (endpoints: string[], verifier: string, verifierId: string) => Promise<KeyLookupResult>; export declare const waitKeyLookup: (endpoints: string[], verifierId: string, timeout: number) => Promise<KeyLookupResult>; export declare function keccak256(a: string | Buffer): string; export declare const allSettled: typeof Promise.allSettled;