UNPKG

475 BTypeScriptView Raw
1export declare function mnemonicToSeedSync(mnemonic: string, password?: string): Uint8Array;
2export declare function mnemonicToEntropy(mnemonic: string, wordlist?: string[]): Uint8Array;
3export declare function entropyToMnemonic(entropy: Uint8Array, wordlist?: string[]): string;
4export declare function generateMnemonic(numWords: 12 | 15 | 18 | 21 | 24, wordlist?: string[]): string;
5export declare function validateMnemonic(mnemonic: string, wordlist?: string[]): boolean;