/** * @fileoverview Entry point for @iacobus/bip39/lite. * Exports lite functions for mnemonic sentence generation, validation, and seed creation. Lite denotes that this * entry point is more minimal than @iacobus/bip39, with the most notable difference being the lack of wordlist * parameters in functions, instead only using the English wordlist * @module * @author Jacob V. B. Haap * @license MIT */ /** * Verify that a mnemonic sentence is valid. * @example * const ms: string = "draw kite fog system improve calm smoke economy cake head figure drastic"; * const verified = verifyMnemonic(ms); // true */ export declare function verifyMnemonic(ms: string): boolean; /** * Generate a mnemonic sentence at a length of `msLen` words. Cryptographically secure entropy * is obtained internally from {@link randomBytes}, or entropy is provided via the `ent` parameter. * The English wordlist is used for mnemonic generation. * @example * const ent: Uint8Array = Uint8Array.from([66, 111, 101, 105, 110, 103, 32, 65, 51, 50, 49, 32, 77, 65, 88, 33]); * const ms = generateMnemonic(12, ent); // draw kite fog system improve calm smoke economy cake head figure drastic */ export declare function generateMnemonic(msLen: number, ent?: Uint8Array): string; /** * Create a 64 byte seed from a mnemonic sentence + optional passphrase (synchronous). * @example * const ms: string = "draw kite fog system improve calm smoke economy cake head figure drastic"; * const seed = createSeed(ms); // Uint8Array(64) [174, 41, 10, 203...] */ export declare function createSeed(ms: string, passphrase?: string): Uint8Array; /** * Create a 64 byte seed from a mnemonic sentence + optional passphrase (asynchronous). * @example * const ms: string = "draw kite fog system improve calm smoke economy cake head figure drastic"; * const seed = await createSeedAsync(ms); // Uint8Array(64) [174, 41, 10, 203...] */ export declare function createSeedAsync(ms: string, passphrase?: string): Promise; //# sourceMappingURL=mod.d.ts.map