/** * Decryption utilities for pre-save encrypted data */ export interface IDecryptOptions { /** Encryption algorithm used (default: aes-256-gcm) */ algorithm?: 'aes-256-gcm' | 'aes-256-cbc' | 'aes-128-gcm'; /** Encryption key */ key: string; } /** * Decrypt a value that was encrypted using PreSaveProcessor.encrypt() */ export declare function decrypt(encryptedValue: string, options: IDecryptOptions): string; /** * Decrypt multiple fields in a record */ export declare function decryptFields(record: Record, fields: string[], options: IDecryptOptions): Record; /** * Verify a hashed password using PBKDF2 (bcrypt-compatible format) */ export declare function verifyHash(plainValue: string, hashedValue: string): boolean; /** * Verify a simple SHA hash */ export declare function verifyShaHash(plainValue: string, hashedValue: string, algorithm?: 'sha256' | 'sha512' | 'md5', salt?: string): boolean;