import type { Document } from '../common/shared/models/Document'; import type { IDVStatus } from '../frankie-client/clients/IDVClient'; import type { SessionInterrupted } from '../ocr/events'; import type { OCRStatus } from '../types'; import type { BiometricsModule } from './definition'; type Vendor = BiometricsModule['vendorName']; export type Events = { vendor_sdk_loaded: [{ vendor: Vendor; }]; vendor_sdk_failed_loading: [{ vendor: Vendor; errorObject: unknown; }]; session_data_generated: [ { session: { entityId: string; vendorParameters: unknown; }; } ]; session_data_failed_loading: [{ code?: unknown; message: string; }]; ready: [{ domElement: HTMLElement; }]; input_required: [ info: { entityId: string | null; }, status: IDVStatus | OCRStatus ]; detection_complete: [{ provider: string; source?: 'ocr' | 'biometrics'; }] | []; detection_failed: [{ message?: string; }]; processing: [{ checkStatus: IDVStatus; entityId: string | null; }]; results: [ { provider?: string | null; checkStatus: IDVStatus; document: Document | null; entityId: string | null; } ]; session_closed: []; session_interrupted: [SessionInterrupted]; vendor_event: [Record]; }; export {}; //# sourceMappingURL=events.d.ts.map