import type { Hasher } from './Hasher.js'; type Argon2TypeKey = 'argon2i' | 'argon2d' | 'argon2id'; /** * Argon2 password hasher. */ export declare class Argon2Hasher implements Hasher { private readonly options; /** * @param opts - Argon2 tuning parameters. */ constructor(opts: { memory: number; threads: number; time: number; type: Argon2TypeKey; }); /** * @inheritdoc */ make(value: string): Promise; /** * @inheritdoc */ check(value: string, hashedValue: string): Promise; /** * @inheritdoc */ needsRehash(hashedValue: string): boolean; } export {}; //# sourceMappingURL=Argon2Hasher.d.ts.map