export declare type Factor = { valid?: boolean; expiredAt?: Date; } & (knows | has | is); export declare type AuthenticationRequirements = { missing?: number; possibleFactors: Array; providedFactors: Array; undefined: Array; }; export declare type AuthenticationToken = { accessToken?: string; shortId?: string; requirements?: AuthenticationRequirements; success: boolean; expiresAt: Date; }; export declare type Knows = 'PIN' | 'PASSWORD'; export declare type Has = 'DEVICE' | 'AUTHENTICATOR' | 'PHONE_NUMBER' | 'EMAIL'; export declare type Is = 'FINGER_PRINT' | 'FACIAL_RECOGNITION'; export declare type Attestation = { capturedAt: Date; } & (knows | has | is); export declare type CreateToken = { id: string; attestations?: Array; }; declare type knows = { knows: Knows; type?: 'knows'; }; declare type has = { has: Has; type?: 'has'; }; declare type is = { is: Is; type?: 'is'; }; export {};