/** * Encrypted data structure with all parameters needed for decryption */ export interface EncryptedData { ciphertext: string; iv: string; authTag: string; salt: string; scryptParams: { N: number; r: number; p: number; keyLen: number; }; version: number; } /** * Encrypt plaintext with password using AES-256-GCM */ export declare function encrypt(plaintext: string, password: string): Promise; /** * Decrypt ciphertext with password using AES-256-GCM */ export declare function decrypt(encrypted: EncryptedData, password: string): Promise; /** * Generate cryptographically secure random bytes */ export declare function randomBytes(length: number): Buffer; /** * Generate a random UUID for wallet IDs */ export declare function generateWalletId(): string; //# sourceMappingURL=encryption.d.ts.map