/** * Navidrome MCP Server - Password hashing and secret comparison * Copyright (C) 2025 * SPDX-License-Identifier: AGPL-3.0-or-later */ export declare function hashPassword(password: string): Promise; export declare function isPasswordHash(hash: string): boolean; /** The parameters come from the stored string, so a later raise of HASH_PARAMETERS keeps old hashes valid. */ export declare function verifyPassword(password: string, hash: string): Promise; export declare function randomToken(bytes: number): string; export declare function sha256Hex(value: string): string; /** Equal-length digests keep `timingSafeEqual` from throwing on a length mismatch and hide the length. */ export declare function constantTimeEqual(presented: string, expected: string): boolean; /** Argon2 needs OpenSSL 3.2 or later, which a Node.js built against an older system OpenSSL lacks. */ export declare function assertArgon2Available(): Promise; //# sourceMappingURL=secrets.d.ts.map