import { Knex } from 'knex'; import { ItemsService } from './items'; import { AbstractServiceOptions, PrimaryKey } from '../types'; export declare class TFAService { knex: Knex; itemsService: ItemsService; constructor(options: AbstractServiceOptions); verifyOTP(key: PrimaryKey, otp: string, secret?: string): Promise; generateTFA(key: PrimaryKey): Promise>; enableTFA(key: PrimaryKey, otp: string, secret: string): Promise; disableTFA(key: PrimaryKey): Promise; }