import AEAD from '../types/AEAD'; /** * Convenience function for retrieving a mnemonic from a user's password and * `AEAD`. Simply derives the encryption key from the password, and uses that * to decrypt the encrypted secret key, then derives the mnemonic from the key. */ export default function regenerateMnemonic(aead: AEAD, password: string, salt: string): Promise>;