import { Messages } from "../types/scanview.types"; declare const scanViewStateMachine: import("xstate").StateMachine>; export type ScanViewContext = { card_id: string; scan_id: string; autoScan: boolean; photoScanning: boolean; showCameraButton: boolean; scannerRunning: boolean; backsideScanning: boolean; backSideSupport: boolean; eligibilitySupport: boolean; headerTitle: any; messageState: Messages; toggledAutoManual: boolean; processing: boolean; error?: string; httpCode: number; httpMessage: string; session_id: string; modelState: string; }; export type ScanViewEvent = { type: "CAMERA_LOADED"; } | { type: "AUTO_TIMED_OUT"; } | { type: "retryCamera"; } | { type: "CardCaptured"; card_id: string; scan_id: string; } | { type: "UPDATE_MODEL_STATE"; modelState: string; } | { type: "TOGGLE"; } | { type: "MANUAL_BUTTON_CLICK"; } | { type: "ERROR"; value: Error; httpCode: number; httpMessage: string; } | { type: "CAMERAERROR"; value: Error; httpCode: number; httpMessage: string; } | { type: "CARD_GAP_DETECTED"; } | { type: "scan.pending"; card_id: string; scan_id: string; backSideSupport: boolean; orientation: string; } | { type: "scan.processing"; card_id: string; scan_id: string; backSideSupport: boolean; orientation: string; } | { type: "retry_scan"; } | { type: "scan.completed"; card_id: string; scan_id: string; } | { type: "scan.unknown"; card_id: string; scan_id: string; } | { type: "scan.skipped"; card_id: string; scan_id: string; } | { type: "scan.error"; card_id: string; scan_id: string; } | { type: "scan.rejected"; card_id: string; scan_id: string; } | { type: "card.pending"; card_id: string; scan_id: string; session_id: string; } | { type: "card.processing"; card_id: string; scan_id: string; } | { type: "card.frontside_processing"; card_id: string; scan_id: string; backSideSupport: boolean; eligibilitySupport: boolean; session_id: string; } | { type: "card.frontside_completed"; card_id: string; scan_id: string; } | { type: "card.post_processing"; card_id: string; scan_id: string; } | { type: "card.frontside_failed"; card_id: string; scan_id: string; } | { type: "card.backside_processing"; card_id: string; scan_id: string; } | { type: "card.backside_failed"; card_id: string; scan_id: string; } | { type: "card.completed"; card_id: string; scan_id: string; } | { type: "card.unknown"; card_id: string; scan_id: string; } | { type: "card.error"; card_id: string; scan_id: string; } | { type: "eligibility.processing"; card_id: string; eligibility_id: string; } | { type: "eligibility.error"; card_id: string; scan_id: string; } | { type: "eligibility.completed"; card_id: string; scan_id: string; } | { type: "eligibilityError"; } | { type: "upload.frontside_skipped"; } | { type: "upload.backside_skipped"; }; export default scanViewStateMachine;