import { Hasher } from './hasher.interface'; export type HashType = 'sha1' | 'sha256'; export interface HasherOptions { salt: string; iterations: number; keySize: number; type: HashType; } export declare class ShaHasher implements Hasher { protected _options: HasherOptions; get options(): HasherOptions; constructor(options: HasherOptions); /** * Return the hash as a hexadecimal string * @param hashType * @param input * @param salt * @param iterations * @param keySize */ static hash(hashType: HashType, input: string, salt: string, iterations: number, keySize: number): string; hash(input: string): string; }