// Type definitions for scrypt-js 2.0 // Project: https://github.com/ricmoo/scrypt-js // Definitions by: Daniel Byrne // Romain Delamare // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// declare function scrypt( password: Buffer | ReadonlyArray | Uint8Array, salt: Buffer | ReadonlyArray | Uint8Array, N: number, r: number, p: number, dklen: number, callback: ( error: Error | undefined | null, progress: number, key?: ReadonlyArray, ) => void ): void; export = scrypt;