/** * Load common passwords from bundled file * * This function loads once on first call and caches the result. * Subsequent calls return the cached Set immediately. * * File location: packages/core/src/data/common-passwords-10000.txt * Format: One password per line, lowercase * * @returns Set of common passwords (lowercase) * * @example * ```typescript * // Load passwords (cached after first call) * const passwords = loadCommonPasswords(); * * // Check if password is common * if (passwords.has('mypassword'.toLowerCase())) { * console.log('Password is too common'); * } * ``` */ export declare function loadCommonPasswords(): Set; /** * Check if a password is in the common password list * * Case-insensitive comparison. * * @param password - Password to check * @returns True if password is common, false otherwise * * @example * ```typescript * if (isCommonPassword('Password123')) { * throw new Error('Password is too common'); * } * ``` */ export declare function isCommonPassword(password: string): boolean; /** * Get the size of the common password list * * @returns Number of passwords in the list */ export declare function getCommonPasswordCount(): number; //# sourceMappingURL=common-passwords.d.ts.map