/** * True iff `words` is a checksum-valid BIP-39 mnemonic. Length must be one of * the standard values and every word must be in the wordlist. */ export declare function isValidMnemonic(words: readonly string[]): boolean; /** * Scan text for checksum-valid BIP-39 mnemonics and replace each with * `placeholder`. Returns the rewritten text and the number of phrases * redacted. * * Approach: tokenize into maximal runs of wordlist words separated by single * spaces, then within each run greedily match the longest valid mnemonic * window (24→12) so a 24-word phrase isn't mistaken for two 12-word ones. */ export declare function redactMnemonics(text: string, placeholder: string): { text: string; count: number; }; //# sourceMappingURL=bip39.d.ts.map