import type { Hasher } from './Hasher.js'; /** * Node.js `crypto.scrypt` password hasher with embedded parameters in the hash string. */ export declare class ScryptHasher implements Hasher { private readonly cost; private readonly blockSize; private readonly parallelization; /** * @param opts - Scrypt parameters. */ constructor(opts: { cost: number; blockSize: number; parallelization: number; }); /** * @inheritdoc */ make(value: string): Promise; /** * @inheritdoc */ check(value: string, hashedValue: string): Promise; /** * @inheritdoc */ needsRehash(hashedValue: string): boolean; } //# sourceMappingURL=ScryptHasher.d.ts.map