import type { SanitizedCollectionConfig } from '../../../collections/config/types.js'; import type { SanitizedConfig } from '../../../config/types.js'; import type { PayloadRequest } from '../../../types/index.js'; type PasswordHashParameters = { hash: string; iterations: number; keyLength: number; }; type Args = { collection: SanitizedCollectionConfig; isPasswordAuthenticated?: boolean; password: string; req: PayloadRequest; }; type PasswordHashIterations = SanitizedConfig['auth']['passwordHashIterations']; export declare const supportedPasswordHashIterations: number[]; export declare const generatePasswordSaltHash: ({ collection, isPasswordAuthenticated, password: passwordToSet, req, }: Args) => Promise<{ hash: string; salt: string; }>; export declare const getPasswordHashParameters: (hash: string) => PasswordHashParameters; export declare const isCurrentPasswordHash: ({ hash, passwordHashIterations, }: { hash: string; passwordHashIterations: PasswordHashIterations; }) => boolean; export declare const isUnsupportedIterationsError: (err: unknown) => boolean; export declare function pbkdf2Promisified({ iterations, keyLength, password, salt, }: { iterations: number; keyLength: number; password: string; salt: string; }): Promise; export {}; //# sourceMappingURL=generatePasswordSaltHash.d.ts.map