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