/** * HD Wallet (Hierarchical Deterministic Wallet) support for IoTeX * Derivation path: m/44'/304'/account'/change/index */ import { HDWalletAccount } from '../types'; export declare class HDWallet { private hdWalletConfigFile; constructor(configDir?: string); /** * Create a new HD wallet with mnemonic */ create(password: string, language?: 'english' | 'chinese'): Promise; /** * Import HD wallet from mnemonic */ import(mnemonic: string, password: string): Promise; /** * Derive account from HD wallet */ derive(password: string, account?: number, change?: number, index?: number): Promise; /** * Export mnemonic (requires password) */ exportMnemonic(password: string): Promise; /** * Delete HD wallet */ delete(): void; /** * Check if HD wallet exists */ exists(): boolean; /** * Update password for HD wallet */ updatePassword(oldPassword: string, newPassword: string): Promise; /** * Write encrypted mnemonic to file */ private writeMnemonic; /** * Read and decrypt mnemonic from file */ private readMnemonic; /** * Parse HD wallet path string (e.g., "0/0/0" or "hdw::0/0/0") */ static parsePath(pathStr: string): { account: number; change: number; index: number; }; /** * Get config file path */ getConfigFile(): string; } //# sourceMappingURL=hdwallet.d.ts.map