type TwoFactorResponse = Record; export interface TwoFactorStatus { enabled: boolean; } export type TwoFactorSetup = TwoFactorResponse & { method: "totp"; totpURI: string; backupCodes: string[]; }; export declare function getTwoFactorStatus(): Promise; export declare function enableTwoFactor(password?: string): Promise; export declare function verifyTwoFactor(code: string): Promise<{ ok: true; }>; export declare function disableTwoFactor(password?: string): Promise<{ status: true; }>; export {};