import { Phrase } from './Phrase'; import { HDWallet, HDKeySource, HDWalletRestoreData } from '../HDWallet'; import type { WalletSerialized } from '../../../WalletSerialized'; /** * HD wallet created from a mnemonic phrase. * * @example * ```ts * const wallet = new PhraseWallet(new Phrase('abandon abandon ... about')); * const key = await wallet.derive("m/44'/60'/0'/0/0"); * ``` */ export declare class PhraseWallet extends HDWallet { readonly walletType: "phrase"; /** @param phrase - The mnemonic phrase. */ constructor(phrase: Phrase, restoreData?: HDWalletRestoreData); /** @internal */ protected getKeySource(): HDKeySource; /** Returns the {@link Phrase}. Prompts for password if encrypted. */ getPhrase(): Promise; /** @internal */ protected doSerialize(): WalletSerialized; }