import { User } from './types'; export declare function findAll(): Promise; export declare function findById(id: number): Promise; export declare function findByIdentity(identity: string): Promise; /** * Returns true or false if the password was correct. * * Calling this method multiple times might result in a block. */ export declare function validatePassword(user: User, password: string): Promise; /** * Returns true or false if the totp token was correct. * * Calling this method multiple times might result in a block. */ export declare function validateTotp(user: User, token: string): Promise;