import type { WildduckAPI } from "../../network/wildduck-client"; import type { WildduckUserAuth } from "@johnqh/types"; export interface TwoFASettings { enabled2fa: string[]; } export interface DisableTwoFAParams { userAuth: WildduckUserAuth; } export declare const useWildduckUser2FA: (api: WildduckAPI, userAuth?: WildduckUserAuth) => { twoFA: TwoFASettings | undefined; enabled2fa: string[]; isEnabled: boolean; isLoading: boolean; isError: boolean; error: Error | null; hasMethod: (method: string) => boolean; hasTOTP: boolean; hasU2F: boolean; hasWebAuthn: boolean; disable2FA: import("@tanstack/react-query").UseMutateFunction; disable2FAAsync: import("@tanstack/react-query").UseMutateAsyncFunction; isDisabling: boolean; disableError: Error | null; }; //# sourceMappingURL=useWildduckUser2FA.d.ts.map