interface PasswordValidationResult { isValid: boolean; errors: string[]; strength: number; entropy: number; } interface HashOptions { skipValidation?: boolean; identifier?: string; algorithm?: "bcrypt" | "argon2id"; pepper?: string; } interface VerifyOptions { identifier?: string; updateHash?: boolean; } interface PasswordPolicy { minLength: number; maxLength: number; requireLowercase: boolean; requireUppercase: boolean; requireNumbers: boolean; requireSymbols: boolean; minEntropy: number; preventCommonPasswords: boolean; preventUserInfo: boolean; } declare class SecurePasswordGenerator { private readonly charsets; generate(length?: number, options?: { includeLowercase?: boolean; includeUppercase?: boolean; includeNumbers?: boolean; includeSymbols?: boolean; excludeSimilar?: boolean; minEntropy?: number; }): string; private generatePassword; private secureRandomChar; private secureRandomInt; } declare const generator: SecurePasswordGenerator; declare function hashPassword(password: string, options?: HashOptions): Promise; declare function verifyPassword(password: string, hash: string, options?: VerifyOptions): Promise; declare function verifyAndCheckRehash(password: string, hash: string, options?: VerifyOptions): Promise<{ valid: boolean; needsRehash: boolean; newHash?: string; }>; declare function validatePassword(password: string, policy?: Partial, userInfo?: string[]): PasswordValidationResult; declare function generateSecurePassword(length?: number, options?: Parameters[1]): string; declare function needsRehash(hash: string): boolean; export { verifyAndCheckRehash as a, validatePassword as b, generateSecurePassword as g, hashPassword as h, needsRehash as n, verifyPassword as v };