import { IAuthenticationHandler } from "./index.js"; export interface AccountInformation { username: string; passwordEncoded: string; totpSecret: string | null; } export type GetAccountInformationFunction = ((username: string) => Promise); export type EncodePasswordFunction = ((password: string) => string); export declare class SqliteAuthenticationHandler implements IAuthenticationHandler { passwordEncoder: EncodePasswordFunction; getAccountInformation: GetAccountInformationFunction; constructor(getAccountInformationFunction: GetAccountInformationFunction, passwordEncoder: EncodePasswordFunction); needTotp(username: string, _password: string): Promise; tryLogin(username: string, password: string, totp?: string): Promise; } //# sourceMappingURL=sqliteAuthenticationHandler.d.ts.map