// Type definitions for password-hash 1.2.x // Project: https://github.com/davidwood/node-password-hash // Definitions by: TANAKA Koichi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module 'password-hash' { export function generate(password: string, options?: Options): string; export function verify(password: string, hashedPassword: string): boolean; export function isHashed(password: string): boolean; export interface Options { algorithm?: string; saltLength?: number; iterations?: number; } }