export type PcmMessageHandler = (message: PcmMessage) => void; export type PcmAction = 'print_dcp' | 'get_device_statuses' | 'document_scan_started' | 'scan_travel_document_complete'; export type PcmKey = 'pdf_data' | 'device_name' | 'device_connected' | 'uid' | 'travel_document'; export type PcmDeviceName = 'DCP' | 'FullPage'; export type PcmBooleanType = 'True' | 'False'; export type PcmDeviceStatus = { deviceName: PcmDeviceName; isConnected: boolean; }; export declare enum PcmTravelDocumentAuthenticationResult { NotSet = 0, Passed = 1, Failed = 2, Unknown = 3, Skipped = 4, Caution = 5, Attention = 6 } export type PcmTravelDocument = { MRZ?: string; AAMVA?: string; IsImageOnlyDocumentScan: boolean; LastName: string; FirstName: string; MiddleName: string; FullName: string; DOB: Date; Age?: string; Gender?: string; Nationality?: string; DocumentTypeID: number; DocumentCode?: string; DocumentName?: string; DocumentNo?: string; DocumentIssue?: string; IsExpired: boolean; IsFailedChecksum: boolean; FacePhoto?: string; IsChipFacePhoto: boolean; WhiteLightImageFront?: string; WhiteLightImageBack?: string; InfraredLightImageFront?: string; InfraredLightImageBack?: string; UltravioletLightImageFront?: string; UltravioletLightImageBack?: string; HasImage: boolean; AuthenticationResult: PcmTravelDocumentAuthenticationResult; AuthenticationRiskFactor: number; HasAuthenticationAlerts: boolean; HasOcrErrors: boolean; IsValid: boolean; }; export type PcmMessageDictionary = Partial>; export type PcmMessage = { Action: PcmAction; Properties?: PcmMessageDictionary; ItemizedProperties?: PcmMessageDictionary[]; };