import { Config } from './types/config'; import { HashResult } from './types/typings'; /** * Class for hashing and verifying sl-user passwords */ export declare class UserHashing { private legacy; private pwdCouch; private iterations; private pbkdf2Prf; private keyLength; private saltLength; constructor(config: Partial); isUpgradeNeeded(hashObj: HashResult): boolean; hashUserPassword(password: string): Promise; verifyUserPassword(hashObj: HashResult, pw: string): Promise; private static createPwdModule; }