import { AuthClient } from '../internal-client'; import { AuthErrorPayload } from '../types'; export type EnableMfaContext = { error: AuthErrorPayload | null; imageUrl: string | null; secret: string | null; }; export type EnableMfaEvents = { type: 'GENERATE'; } | { type: 'ACTIVATE'; code?: string; activeMfaType: 'totp'; } | { type: 'DISABLE'; code: string; } | { type: 'GENERATED'; } | { type: 'GENERATED_ERROR'; error: AuthErrorPayload | null; } | { type: 'SUCCESS'; } | { type: 'ERROR'; error: AuthErrorPayload | null; }; export type EnableMfadMachine = ReturnType; export declare const createEnableMfaMachine: ({ backendUrl, interpreter }: AuthClient) => import("xstate").StateMachine>; //# sourceMappingURL=enable-mfa.d.ts.map