import type { ErrorPayload } from '../errors'; import { User } from '../types'; export declare type StateErrorTypes = 'registration' | 'authentication' | 'signout'; export declare type AuthContext = { user: User | null; mfa: { ticket: string; } | null; accessToken: { value: string | null; expiresAt: Date | null; }; refreshTimer: { startedAt: Date | null; attempts: number; lastAttempt: Date | null; }; refreshToken: { value: string | null; }; /** Number of times the user tried to get an access token from a refresh token but got a network error */ importTokenAttempts: number; errors: Partial>; }; export declare const INITIAL_MACHINE_CONTEXT: AuthContext; //# sourceMappingURL=context.d.ts.map