/// import { KeyPair } from '../primitives/nacl'; export declare function mnemonicToEntropy(mnemonicArray: string[], password?: string | null | undefined): Promise; export declare function mnemonicToSeed(mnemonicArray: string[], seed: string, password?: string | null | undefined): Promise; /** * Extract private key from mnemonic * @param mnemonicArray mnemonic array * @param password mnemonic password * @returns Key Pair */ export declare function mnemonicToPrivateKey(mnemonicArray: string[], password?: string | null | undefined): Promise; /** * Convert mnemonic to wallet key pair * @param mnemonicArray mnemonic array * @param password mnemonic password * @returns Key Pair */ export declare function mnemonicToWalletKey(mnemonicArray: string[], password?: string | null | undefined): Promise; /** * Convert mnemonics to HD seed * @param mnemonicArray mnemonic array * @param password mnemonic password * @returns 64 byte seed */ export declare function mnemonicToHDSeed(mnemonicArray: string[], password?: string | null | undefined): Promise; /** * Validate Mnemonic * @param mnemonicArray mnemonic array * @param password mnemonic password * @returns true for valid mnemonic */ export declare function mnemonicValidate(mnemonicArray: string[], password?: string | null | undefined): Promise; /** * Generate new Mnemonic * @param wordsCount number of words to generate * @param password mnemonic password * @returns */ export declare function mnemonicNew(wordsCount?: number, password?: string | null | undefined): Promise; /** * Converts bytes to mnemonics array (could be invalid for TON) * @param src source buffer * @param wordsCount number of words */ export declare function bytesToMnemonicIndexes(src: Buffer, wordsCount: number): number[]; export declare function bytesToMnemonics(src: Buffer, wordsCount: number): string[]; /** * Converts mnemonics indexes to buffer with zero padding in the end * @param src source indexes * @returns Buffer */ export declare function mnemonicIndexesToBytes(src: number[]): Buffer; /** * Generates deterministically mnemonics * @param seed * @param wordsCount * @param password */ export declare function mnemonicFromRandomSeed(seed: Buffer, wordsCount?: number, password?: string | null | undefined): Promise;