import { FetchStateAndError, ID } from '../../commonStateTypes/common'; import { ZeniDate } from '../../zeniDayJS'; export interface TwoFactorAuthentication { otpVerificationStatus: FetchStateAndError; sendOtpStatus: FetchStateAndError; otpChallenge?: string; phone?: string; token?: Token; } export type TwoFactorAuthenticationWithoutToken = Omit; export declare const defaultTwoFactorAuthenticationState: TwoFactorAuthentication; export interface TwoFactorAuthenticationState { cardUserOnboarding: TwoFactorAuthenticationWithoutToken; chargeCardHolder: Record; common: TwoFactorAuthentication; } export declare const COMMON_TWO_FA_SOURCE: readonly ["BillPayVendor", "SpendManagementSetup", "MyProfile", "CustomerOnboarding"]; export declare const toCommonTwoFASource: (v: string) => "BillPayVendor" | "SpendManagementSetup" | "MyProfile" | "CustomerOnboarding"; export type CommonTwoFASource = ReturnType; export type TwoFASourceView = CommonTwoFASource | 'ChargeCardHolder' | 'CardUserOnboarding'; export interface Token { expiry: ZeniDate; message: string; provider: string; token: string; } export declare const initialTwoFactorAuthenticationWithoutToken: TwoFactorAuthenticationWithoutToken; export declare const initialTwoFactorAuthentication: TwoFactorAuthentication;