import { Symbology } from '@scandit/web-datacapture-barcode'; import { DataCaptureCallbackMessage as DataCaptureCallbackMessage$1, DataCaptureCallbackMessageKeys as DataCaptureCallbackMessageKeys$1, AnyDataCaptureActionMessage as AnyDataCaptureActionMessage$1, DataCaptureActionMessageKey as DataCaptureActionMessageKey$1, Module as Module$1, WorkerResponse as WorkerResponse$1 } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated'; import { Barcode } from './djinni-types/sdcBarcodeInternalSdkData.js'; import { FloatWithUnit, MeasureUnit, Quadrilateral } from './djinni-types/sdcCoreCommonGeometry.js'; import { B as BarcodeField, p as BarcodeField_statics, C as CustomBarcode, q as CustomBarcode_statics, e as CustomText, r as CustomText_statics, D as DateText, s as DateText_statics, E as ExpiryDateText, t as ExpiryDateText_statics, I as ImeiOneBarcode, u as ImeiOneBarcode_statics, g as ImeiTwoBarcode, v as ImeiTwoBarcode_statics, L as LabelCapture, w as LabelCapture_statics, h as LabelCaptureHelper, x as LabelCaptureHelper_statics, a as LabelCaptureListener, b as LabelCaptureSession, i as LabelCaptureSettings, y as LabelCaptureSettings_statics, j as LabelDefinition, z as LabelDefinition_statics, d as LabelFieldDefinition, c as LabelFieldLocation, A as LabelFieldLocation_statics, P as PackingDateText, F as PackingDateText_statics, k as PartNumberBarcode, G as PartNumberBarcode_statics, H as ReceiptScanningHandler, l as ReceiptScanningListener, S as SerialNumberBarcode, J as SerialNumberBarcode_statics, K as TextField, T as TotalPriceText, M as TotalPriceText_statics, U as UnitPriceText, N as UnitPriceText_statics, W as WeightText, O as WeightText_statics, V as ValidationFlowState, Q as LabelResultUpdateType } from './sdcLabelInternalModuleCapture-yM8m0vEc.js'; import { CapturedLabel, LabelField, ReceiptScanningLineItem as ReceiptScanningLineItem$1, ReceiptScanningResult as ReceiptScanningResult$1 } from './djinni-types/sdcLabelInternalModuleData.js'; import { RectangularLocationSelection, RectangularLocationSelection_statics } from './djinni-types/sdcCoreInternalSdkArea.js'; import { RectangularViewfinder, RectangularViewfinder_statics, RectangularViewfinderAnimation_statics, AimerViewfinder, AimerViewfinder_statics, NoViewfinder, NoViewfinder_statics } from './djinni-types/sdcCoreInternalSdkUiViewfinder.js'; import { LabelFieldLocationType, LabelFieldState, LabelFieldType } from './djinni-types/sdcLabelData.js'; import { LabelCaptureOverlayHelper, LabelCaptureOverlayHelper_statics, LabelCaptureBasicOverlay, LabelCaptureBasicOverlay_statics, LabelCaptureAdvancedOverlay, LabelCaptureAdvancedOverlay_statics, ReceiptScanningOverlay, ReceiptScanningOverlay_statics, ReceiptScanningSettings, ReceiptScanningSettings_statics, ValidationFlowOverlay, ValidationFlowOverlay_statics, ValidationFlowSettings, ValidationFlowSettings_statics, ValidationFlowSettingsDefaults, ValidationFlowSettingsDefaults_statics } from './djinni-types/sdcLabelInternalModuleUiOverlay.js'; import { RectangularViewfinderAnimation, PrivateLoadableFrameData, LocationSelectionJSON, RectJSON, BrushJSON, RectangularViewfinderJSON, AimerViewfinderJSON } from '@scandit/web-datacapture-core'; import { AdaptiveRecognitionMode } from './api/AdaptiveRecognitionMode.js'; import { CapturedLabelJSON } from './api/CapturedLabel.js'; import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js'; import { LabelCaptureSessionJSON } from './api/LabelCaptureSession.js'; import { LabelDateFormatJSON } from './api/LabelDateFormat.js'; import { LabelFieldJSON } from './api/LabelField.js'; import { LabelFieldLocationType as LabelFieldLocationType$1 } from './api/LabelFieldLocationType.js'; import { ReceiptScanningLineItem, ReceiptScanningLineItemJSON } from './api/ReceiptScanningLineItem.js'; import { ValidationFlowFieldJSON } from './api/ValidationFlowField.js'; /** * Enum specifying the type of document for adaptive recognition result. */ declare enum AdaptiveRecognitionResultType { /** * Receipt document type. */ Receipt = "receipt" } interface ReceiptScanningSettingsJSON { resultType: AdaptiveRecognitionResultType; processingHintText: string; } /** * Settings to customize the adaptive recognition receipt scanning UI. * These settings are applied to LabelCaptureAdaptiveRecognitionOverlay. */ declare class LabelCaptureAdaptiveRecognitionSettings { [nativeHandle]: NativeProxyHandle; private constructor(); resultType: AdaptiveRecognitionResultType; setProcessingHintText(text: string): Promise; getProcessingHintText(): Promise; /** * Creates new settings with default values. */ static create(resultType?: AdaptiveRecognitionResultType): Promise; } declare abstract class AdaptiveRecognitionResult { resultType: AdaptiveRecognitionResultType; } interface ReceiptScanningResultJSON { storeName: string | null; storeCity: string | null; storeAddress: string | null; date: string | null; time: string | null; paymentPreTaxTotal: number | null; paymentTax: number | null; paymentTotal: number | null; loyaltyNumber: number | null; lineItems: ReceiptScanningLineItemJSON[]; } /** * Represents the result of a receipt scanning operation. * Contains store information, payment details, and line items extracted from the receipt. */ declare class ReceiptScanningResult extends AdaptiveRecognitionResult { resultType: AdaptiveRecognitionResultType; private _storeName?; private _storeCity?; private _storeAddress?; private _date?; private _time?; private _paymentPreTaxTotal?; private _paymentTax?; private _paymentTotal?; private _loyaltyNumber?; private _lineItems; /** * The name of the store, or null if not available. */ get storeName(): string | null; /** * The city where the store is located, or null if not available. */ get storeCity(): string | null; /** * The address of the store, or null if not available. */ get storeAddress(): string | null; /** * The date from the receipt, or null if not available. */ get date(): string | null; /** * The time from the receipt, or null if not available. */ get time(): string | null; /** * The pre-tax total amount, or null if not available. */ get paymentPreTaxTotal(): number | null; /** * The tax amount, or null if not available. */ get paymentTax(): number | null; /** * The total amount, or null if not available. */ get paymentTotal(): number | null; /** * The loyalty program number, or null if not available. */ get loyaltyNumber(): number | null; /** * The line items from the receipt. */ get lineItems(): ReceiptScanningLineItem[]; toJSONObject(): ReceiptScanningResultJSON; } type AugmentedWorker = DedicatedWorkerGlobalScope & { Module: M; } & typeof global; interface ModuleHandler { get: () => M; set: (v: M) => void; } interface AugmentedCoreModule extends Module$1 { FloatWithUnit: FloatWithUnit; MeasureUnit: MeasureUnit; RectangularLocationSelection: RectangularLocationSelection & RectangularLocationSelection_statics; } interface LabelData { LabelFieldLocationType: LabelFieldLocationType; LabelFieldState: LabelFieldState; LabelFieldType: LabelFieldType; } interface LabelInternalModuleCapture { BarcodeField: BarcodeField & BarcodeField_statics; CustomBarcode: CustomBarcode & CustomBarcode_statics; CustomText: CustomText & CustomText_statics; DateText: DateText & DateText_statics; ExpiryDateText: ExpiryDateText & ExpiryDateText_statics; ImeiOneBarcode: ImeiOneBarcode & ImeiOneBarcode_statics; ImeiTwoBarcode: ImeiTwoBarcode & ImeiTwoBarcode_statics; LabelCapture: LabelCapture & LabelCapture_statics; LabelCaptureHelper: LabelCaptureHelper & LabelCaptureHelper_statics; LabelCaptureOverlayHelper: LabelCaptureOverlayHelper & LabelCaptureOverlayHelper_statics; LabelCaptureListener: LabelCaptureListener; LabelCaptureSession: LabelCaptureSession; LabelCaptureSettings: LabelCaptureSettings & LabelCaptureSettings_statics; LabelDefinition: LabelDefinition & LabelDefinition_statics; LabelFieldDefinition: LabelFieldDefinition; LabelFieldLocation: LabelFieldLocation & LabelFieldLocation_statics; PackingDateText: PackingDateText & PackingDateText_statics; PartNumberBarcode: PartNumberBarcode & PartNumberBarcode_statics; ReceiptScanningHandler: ReceiptScanningHandler; ReceiptScanningListener: ReceiptScanningListener; SerialNumberBarcode: SerialNumberBarcode & SerialNumberBarcode_statics; TextField: TextField; TotalPriceText: TotalPriceText & TotalPriceText_statics; UnitPriceText: UnitPriceText & UnitPriceText_statics; WeightText: WeightText & WeightText_statics; LabelCaptureBasicOverlay: LabelCaptureBasicOverlay & LabelCaptureBasicOverlay_statics; LabelCaptureAdvancedOverlay: LabelCaptureAdvancedOverlay & LabelCaptureAdvancedOverlay_statics; ReceiptScanningOverlay: ReceiptScanningOverlay & ReceiptScanningOverlay_statics; ReceiptScanningSettings: ReceiptScanningSettings & ReceiptScanningSettings_statics; ValidationFlowOverlay: ValidationFlowOverlay & ValidationFlowOverlay_statics; RectangularViewfinder: RectangularViewfinder & RectangularViewfinder_statics; RectangularViewfinderAnimation: RectangularViewfinderAnimation & RectangularViewfinderAnimation_statics; AimerViewfinder: AimerViewfinder & AimerViewfinder_statics; NoViewfinder: NoViewfinder & NoViewfinder_statics; ValidationFlowSettings: ValidationFlowSettings & ValidationFlowSettings_statics; ValidationFlowSettingsDefaults: ValidationFlowSettingsDefaults & ValidationFlowSettingsDefaults_statics; } interface LabelInternalModuleData { CapturedLabel: CapturedLabel; LabelField: LabelField; ReceiptScanningLineItem: ReceiptScanningLineItem$1; ReceiptScanningResult: ReceiptScanningResult$1; } interface LabelCaptureModule extends LabelData, LabelInternalModuleCapture, LabelInternalModuleData { } interface Module extends AugmentedCoreModule, LabelCaptureModule { } type DataCaptureActionMessageKey = DataCaptureActionMessageKey$1 | "labelCaptureBuildLabelCaptureSettings" | "labelCaptureBuildLabelDefinition" | "labelCaptureBuildPriceCaptureDefinition" | "labelCaptureBuildVinLabelDefinition" | "labelCaptureBuildCustomBarcode" | "labelCaptureBuildCustomText" | "labelCaptureBuildDateText" | "labelCaptureBuildExpiryDateText" | "labelCaptureBuildImeiOneBarcode" | "labelCaptureBuildImeiTwoBarcode" | "labelCaptureBuildPackingDateText" | "labelCaptureBuildPartNumberBarcode" | "labelCaptureBuildSerialNumberBarcode" | "labelCaptureBuildTotalPriceText" | "labelCaptureBuildUnitPriceText" | "labelCaptureBuildWeightText" | "labelCaptureModeCreate" | "labelCaptureModeIsEnabled" | "labelCaptureModeSetEnabled" | "labelCaptureModeApplySettings" | "labelCaptureModeAddToContext" | "labelCaptureModeRemoveFromContext" | "labelCaptureModeAddListener" | "labelCaptureModeRemoveListener" | "labelCaptureModeUnsetValidationFlowHandler" | "labelCaptureSettingsGetLocationSelection" | "labelCaptureSettingsSetLocationSelection" | "labelCaptureSettingsGetProperty" | "labelCaptureSettingsSetProperty" | "labelCaptureSettingsGetBlueprintJson" | "labelCaptureBuildLabelFieldLocation" | "labelDefinitionSetAdaptiveRecognitionMode" | "labelCaptureBasicOverlayForLabelCapture" | "labelCaptureBasicOverlaySetDefaultFieldBrush" | "labelCaptureBasicOverlaySetDefaultLabelBrush" | "labelCaptureBasicOverlaySetBrushForField" | "labelCaptureBasicOverlaySetBrushForLabel" | "labelCaptureBasicOverlaySetListener" | "labelCaptureBasicOverlayGetDefaultFieldBrush" | "labelCaptureBasicOverlayGetDefaultLabelBrush" | "labelCaptureBasicOverlayGetShouldShowScanAreaGuides" | "labelCaptureBasicOverlaySetShouldShowScanAreaGuides" | "labelCaptureBasicOverlayGetViewfinder" | "labelCaptureBasicOverlayUpdateViewfinder" | "labelCaptureAdvancedOverlayForLabelCapture" | "labelCaptureAdvancedOverlaySetShouldShowScanAreaGuides" | "labelCaptureAdvancedOverlayGetShouldShowScanAreaGuides" | "validationFlowOverlayForLabelCapture" | "validationFlowOverlayGetLabelViewfinder" | "validationFlowOverlayGetTargetViewfinder" | "validationFlowOverlayApplySettings" | "receiptScanningOverlayForLabelCapture" | "receiptScanningOverlayApplySettings" | "receiptScanningSettingsCreate" | "receiptScanningSettingsSetProcessingHintText" | "receiptScanningSettingsGetProcessingHintText" | "receiptScanningHandlerStartFlow" | "receiptScanningHandlerFinishFlow" | "receiptScanningHandlerAddListener" | "receiptScanningHandlerRemoveListener" | "validationFlowHandlerCreate" | "validationFlowHandlerStartCompleteLabelScan" | "validationFlowHandlerStartPartialLabelScan" | "validationFlowHandlerUpdateFieldValue" | "validationFlowHandlerFinishFlow" | "validationFlowHandlerPauseScan" | "validationFlowHandlerResumeScan" | "validationFlowHandlerReset" | "validationFlowHandlerGetValidationFlowFields" | "validationFlowHandlerCancelCloudBackupTaskForField" | "validationFlowHandlerUncancelCloudBackupTaskForField" | "validationFlowHandlerClearAllFields" | "validationFlowSettingsCreate" | "validationFlowSettingsSetMissingFieldsHintText" | "validationFlowSettingsGetMissingFieldsHintText" | "validationFlowSettingsSetStandbyHintText" | "validationFlowSettingsGetStandbyHintText" | "validationFlowSettingsSetValidationHintText" | "validationFlowSettingsGetValidationHintText" | "validationFlowSettingsSetValidationErrorText" | "validationFlowSettingsGetValidationErrorText" | "validationFlowSettingsSetRequiredFieldErrorText" | "validationFlowSettingsGetRequiredFieldErrorText" | "validationFlowSettingsSetManualInputButtonText" | "validationFlowSettingsGetManualInputButtonText" | "validationFlowSettingsSetFinishButtonText" | "validationFlowSettingsGetFinishButtonText" | "validationFlowSettingsSetRestartButtonText" | "validationFlowSettingsGetRestartButtonText" | "validationFlowSettingsSetPauseButtonText" | "validationFlowSettingsGetPauseButtonText" | "validationFlowSettingsSetAdaptiveScanningText" | "validationFlowSettingsGetAdaptiveScanningText" | "validationFlowSettingsSetScanningText" | "validationFlowSettingsGetScanningText" | "validationFlowSettingsSetPlaceholderTextForLabelDefinition" | "validationFlowSettingsGetPlaceholderTextForLabelDefinition"; type WorkerResponse = WorkerResponse$1; interface DataCaptureActionMessage { command: DataCaptureActionMessageKey; id: number; } interface ValidationFlowSettingsCreateActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsCreate"; payload: {}; } interface ValidationFlowSettingsSetMissingFieldsHintTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetMissingFieldsHintText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetMissingFieldsHintTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetMissingFieldsHintText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetStandbyHintTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetStandbyHintText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetStandbyHintTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetStandbyHintText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetValidationHintTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetValidationHintText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetValidationHintTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetValidationHintText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetValidationErrorTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetValidationErrorText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetValidationErrorTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetValidationErrorText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetRequiredFieldErrorTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetRequiredFieldErrorText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetRequiredFieldErrorTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetRequiredFieldErrorText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetManualInputButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetManualInputButtonText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetManualInputButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetManualInputButtonText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetPlaceholderTextForLabelDefinitionActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetPlaceholderTextForLabelDefinition"; payload: { settingsHandle: NativeProxyHandle; fieldName: string; placeholder: string | undefined; }; } interface ValidationFlowSettingsGetPlaceholderTextForLabelDefinitionActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetPlaceholderTextForLabelDefinition"; payload: { settingsHandle: NativeProxyHandle; fieldName: string; }; } interface ValidationFlowSettingsSetFinishButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetFinishButtonText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetFinishButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetFinishButtonText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetRestartButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetRestartButtonText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetRestartButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetRestartButtonText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetPauseButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetPauseButtonText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetPauseButtonTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetPauseButtonText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetAdaptiveScanningTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetAdaptiveScanningText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetAdaptiveScanningTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetAdaptiveScanningText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowSettingsSetScanningTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsSetScanningText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ValidationFlowSettingsGetScanningTextActionMessage extends DataCaptureActionMessage { command: "validationFlowSettingsGetScanningText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ValidationFlowOverlayApplySettingsActionMessage extends DataCaptureActionMessage { command: "validationFlowOverlayApplySettings"; payload: { overlayHandle: NativeProxyHandle; settingsHandle: NativeProxyHandle; }; } interface ReceiptScanningOverlayForLabelCaptureActionMessage extends DataCaptureActionMessage { command: "receiptScanningOverlayForLabelCapture"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ReceiptScanningOverlayApplySettingsActionMessage extends DataCaptureActionMessage { command: "receiptScanningOverlayApplySettings"; payload: { overlayHandle: NativeProxyHandle; settingsHandle: NativeProxyHandle; }; } interface ReceiptScanningSettingsCreateActionMessage extends DataCaptureActionMessage { command: "receiptScanningSettingsCreate"; payload: { resultType: AdaptiveRecognitionResultType.Receipt; }; } interface ReceiptScanningSettingsSetProcessingHintTextActionMessage extends DataCaptureActionMessage { command: "receiptScanningSettingsSetProcessingHintText"; payload: { settingsHandle: NativeProxyHandle; text: string; }; } interface ReceiptScanningSettingsGetProcessingHintTextActionMessage extends DataCaptureActionMessage { command: "receiptScanningSettingsGetProcessingHintText"; payload: { settingsHandle: NativeProxyHandle; }; } interface ReceiptScanningHandlerStartFlowActionMessage extends DataCaptureActionMessage { command: "receiptScanningHandlerStartFlow"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ReceiptScanningHandlerFinishFlowActionMessage extends DataCaptureActionMessage { command: "receiptScanningHandlerFinishFlow"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ReceiptScanningHandlerAddListenerActionMessage extends DataCaptureActionMessage { command: "receiptScanningHandlerAddListener"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ReceiptScanningHandlerRemoveListenerActionMessage extends DataCaptureActionMessage { command: "receiptScanningHandlerRemoveListener"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerCreateActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerCreate"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerStartCompleteLabelScanActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerStartCompleteLabelScan"; payload: { labelCaptureHandle: NativeProxyHandle; labelName: string; }; } interface ValidationFlowHandlerStartPartialLabelScanActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerStartPartialLabelScan"; payload: { labelCaptureHandle: NativeProxyHandle; fieldNames: string[]; }; } interface ValidationFlowHandlerUpdateFieldValueActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerUpdateFieldValue"; payload: { labelCaptureHandle: NativeProxyHandle; fieldName: string; value: string; }; } interface ValidationFlowHandlerFinishFlowActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerFinishFlow"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerPauseScanActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerPauseScan"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerResumeScanActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerResumeScan"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerResetActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerReset"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerGetValidationFlowFieldsActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerGetValidationFlowFields"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowHandlerCancelCloudBackupTaskForFieldActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerCancelCloudBackupTaskForField"; payload: { labelCaptureHandle: NativeProxyHandle; fieldName: string; }; } interface ValidationFlowHandlerUncancelCloudBackupTaskForFieldActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerUncancelCloudBackupTaskForField"; payload: { labelCaptureHandle: NativeProxyHandle; fieldName: string; }; } interface ValidationFlowHandlerClearAllFieldsActionMessage extends DataCaptureActionMessage { command: "validationFlowHandlerClearAllFields"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureBuildLabelCaptureSettingsActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildLabelCaptureSettings"; payload: { labelDefinitionHandles: NativeProxyHandle[]; hiddenProperties: Record; labelProperties?: Record | Record[]; }; } interface LabelCaptureBuildLabelDefinitionActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildLabelDefinition"; payload: { name: string; fieldDefinitionHandles: NativeProxyHandle[]; hiddenProperties: Record; adaptiveRecognitionMode?: AdaptiveRecognitionMode; }; } interface LabelCaptureBuildVinLabelDefinitionActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildVinLabelDefinition"; payload: { name: string; adaptiveRecognitionMode?: AdaptiveRecognitionMode; }; } interface LabelCaptureBuildPriceCaptureDefinitionActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildPriceCaptureDefinition"; payload: { name: string; adaptiveRecognitionMode?: AdaptiveRecognitionMode; }; } interface LabelCaptureBuildCustomBarcodeActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildCustomBarcode"; payload: { name: string; dataTypePatterns: string[]; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; symbologies: Symbology[]; locationHandle?: NativeProxyHandle; }; } interface LabelCaptureBuildCustomTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildCustomText"; payload: { name: string; dataTypePatterns: string[]; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; locationHandle?: NativeProxyHandle; shouldResetDataTypePatterns?: boolean; }; } interface LabelCaptureBuildDateTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildDateText"; payload: { name: string; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; dataTypePatterns?: string[]; shouldResetDataTypePatterns: boolean; labelDateFormat: LabelDateFormatJSON; }; } interface LabelCaptureBuildExpiryDateTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildExpiryDateText"; payload: { name: string; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; dataTypePatterns?: string[]; shouldResetDataTypePatterns: boolean; labelDateFormat?: LabelDateFormatJSON; }; } interface LabelCaptureBuildImeiOneBarcodeActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildImeiOneBarcode"; payload: { name: string; dataTypePatterns: string[]; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; symbologies: Symbology[]; }; } interface LabelCaptureBuildImeiTwoBarcodeActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildImeiTwoBarcode"; payload: { name: string; dataTypePatterns: string[]; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; symbologies: Symbology[]; }; } interface LabelCaptureBuildPackingDateTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildPackingDateText"; payload: { name: string; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; dataTypePatterns?: string[]; shouldResetDataTypePatterns: boolean; labelDateFormat?: LabelDateFormatJSON; }; } interface LabelCaptureBuildPartNumberBarcodeActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildPartNumberBarcode"; payload: { name: string; dataTypePatterns: string[]; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; symbologies: Symbology[]; }; } interface LabelCaptureBuildSerialNumberBarcodeActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildSerialNumberBarcode"; payload: { name: string; dataTypePatterns: string[]; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; symbologies: Symbology[]; }; } interface LabelCaptureBuildTotalPriceTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildTotalPriceText"; payload: { name: string; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; dataTypePatterns?: string[]; shouldResetDataTypePatterns: boolean; }; } interface LabelCaptureBuildUnitPriceTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildUnitPriceText"; payload: { name: string; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; dataTypePatterns?: string[]; shouldResetDataTypePatterns: boolean; }; } interface LabelCaptureBuildWeightTextActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildWeightText"; payload: { name: string; hiddenProperties: Record; isOptional: boolean; numberOfMandatoryInstances: number | null; patterns: string[]; dataTypePatterns?: string[]; shouldResetDataTypePatterns: boolean; }; } interface CreateLabelCaptureActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeCreate"; payload: { settingsHandle: NativeProxyHandle; }; } interface LabelCaptureIsEnabledActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeIsEnabled"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureSetEnabledActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeSetEnabled"; payload: { enabled: boolean; labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureApplySettingsActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeApplySettings"; payload: { settingsHandle: NativeProxyHandle; labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureAddToContextActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeAddToContext"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureRemoveFromContextActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeRemoveFromContext"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureAddListenerActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeAddListener"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureRemoveListenerActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeRemoveListener"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureUnsetValidationFlowHandlerActionMessage extends DataCaptureActionMessage { command: "labelCaptureModeUnsetValidationFlowHandler"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureSettingsGetLocationSelectionActionMessage extends DataCaptureActionMessage { command: "labelCaptureSettingsGetLocationSelection"; payload: { settingsHandle: NativeProxyHandle; }; } interface LabelCaptureSettingsSetLocationSelectionActionMessage extends DataCaptureActionMessage { command: "labelCaptureSettingsSetLocationSelection"; payload: { settingsHandle: NativeProxyHandle; locationSelection: LocationSelectionJSON; }; } interface LabelCaptureSettingsGetPropertyActionMessage extends DataCaptureActionMessage { command: "labelCaptureSettingsGetProperty"; payload: { settingsHandle: NativeProxyHandle; key: string; }; } interface LabelCaptureSettingsGetBlueprintJsonActionMessage extends DataCaptureActionMessage { command: "labelCaptureSettingsGetBlueprintJson"; payload: { settingsHandle: NativeProxyHandle; }; } interface LabelCaptureSettingsSetPropertyActionMessage extends DataCaptureActionMessage { command: "labelCaptureSettingsSetProperty"; payload: { settingsHandle: NativeProxyHandle; key: string; value: unknown; }; } interface LabelCaptureBuildLabelFieldLocationActionMessage extends DataCaptureActionMessage { command: "labelCaptureBuildLabelFieldLocation"; payload: { rect?: RectJSON; locationType?: LabelFieldLocationType$1; }; } interface LabelDefinitionSetAdaptiveRecognitionModeActionMessage extends DataCaptureActionMessage { command: "labelDefinitionSetAdaptiveRecognitionMode"; payload: { labelDefinitionHandle: NativeProxyHandle; adaptiveRecognitionMode: AdaptiveRecognitionMode; }; } interface LabelCaptureBasicOverlayForLabelCaptureActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlayForLabelCapture"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface ValidationFlowOverlayForLabelCaptureActionMessage extends DataCaptureActionMessage { command: "validationFlowOverlayForLabelCapture"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureBasicOverlaySetDefaultFieldBrushActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlaySetDefaultFieldBrush"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; labelFieldState: LabelFieldState; brush: BrushJSON | undefined | null; }; } interface LabelCaptureBasicOverlayGetDefaultFieldBrushActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlayGetDefaultFieldBrush"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; labelFieldState: LabelFieldState; }; } interface LabelCaptureBasicOverlaySetDefaultLabelBrushActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlaySetDefaultLabelBrush"; payload: { brush: BrushJSON | undefined | null; labelCaptureBasicOverlayHandle: NativeProxyHandle; }; } interface LabelCaptureBasicOverlayGetDefaultLabelBrushActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlayGetDefaultLabelBrush"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; }; } interface LabelCaptureBasicOverlaySetBrushForFieldActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlaySetBrushForField"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; fieldJSON: LabelFieldJSON; labelJSON: CapturedLabelJSON; brush: BrushJSON | undefined | null; }; } interface LabelCaptureBasicOverlaySetBrushForLabelActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlaySetBrushForLabel"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; labelJSON: CapturedLabelJSON; brush: BrushJSON | undefined | null; }; } interface LabelCaptureBasicOverlaySetListenerActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlaySetListener"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; value: boolean; }; } interface LabelCaptureBasicOverlayGetShouldShowScanAreaGuidesActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlayGetShouldShowScanAreaGuides"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; }; } interface LabelCaptureBasicOverlaySetShouldShowScanAreaGuidesActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlaySetShouldShowScanAreaGuides"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; show: boolean; }; } interface LabelCaptureBasicOverlayGetViewfinderActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlayGetViewfinder"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; }; } interface LabelCaptureBasicOverlayUpdateViewfinderActionMessage extends DataCaptureActionMessage { command: "labelCaptureBasicOverlayUpdateViewfinder"; payload: { labelCaptureBasicOverlayHandle: NativeProxyHandle; viewfinderJSON: RectangularViewfinderJSON | AimerViewfinderJSON; }; } interface LabelCaptureAdvancedOverlayForLabelCaptureActionMessage extends DataCaptureActionMessage { command: "labelCaptureAdvancedOverlayForLabelCapture"; payload: { labelCaptureHandle: NativeProxyHandle; }; } interface LabelCaptureAdvancedOverlaySetShouldShowScanAreaGuidesActionMessage extends DataCaptureActionMessage { command: "labelCaptureAdvancedOverlaySetShouldShowScanAreaGuides"; payload: { labelCaptureAdvancedOverlayHandle: NativeProxyHandle; show: boolean; }; } interface LabelCaptureAdvancedOverlayGetShouldShowScanAreaGuidesActionMessage extends DataCaptureActionMessage { command: "labelCaptureAdvancedOverlayGetShouldShowScanAreaGuides"; payload: { labelCaptureAdvancedOverlayHandle: NativeProxyHandle; }; } type AnyDataCaptureActionMessage = AnyDataCaptureActionMessage$1 | LabelCaptureBuildLabelCaptureSettingsActionMessage | LabelCaptureBuildLabelDefinitionActionMessage | LabelCaptureBuildVinLabelDefinitionActionMessage | LabelCaptureBuildPriceCaptureDefinitionActionMessage | LabelCaptureBuildCustomBarcodeActionMessage | LabelCaptureBuildCustomTextActionMessage | LabelCaptureBuildDateTextActionMessage | LabelCaptureBuildExpiryDateTextActionMessage | LabelCaptureBuildImeiOneBarcodeActionMessage | LabelCaptureBuildImeiTwoBarcodeActionMessage | LabelCaptureBuildPackingDateTextActionMessage | LabelCaptureBuildPartNumberBarcodeActionMessage | LabelCaptureBuildSerialNumberBarcodeActionMessage | LabelCaptureBuildTotalPriceTextActionMessage | LabelCaptureBuildUnitPriceTextActionMessage | LabelCaptureBuildWeightTextActionMessage | CreateLabelCaptureActionMessage | LabelCaptureIsEnabledActionMessage | LabelCaptureSetEnabledActionMessage | LabelCaptureApplySettingsActionMessage | LabelCaptureAddToContextActionMessage | LabelCaptureRemoveFromContextActionMessage | LabelCaptureAddListenerActionMessage | LabelCaptureRemoveListenerActionMessage | LabelCaptureUnsetValidationFlowHandlerActionMessage | LabelCaptureSettingsGetLocationSelectionActionMessage | LabelCaptureSettingsSetLocationSelectionActionMessage | LabelCaptureSettingsGetPropertyActionMessage | LabelCaptureSettingsSetPropertyActionMessage | LabelCaptureSettingsGetBlueprintJsonActionMessage | LabelCaptureBuildLabelFieldLocationActionMessage | LabelDefinitionSetAdaptiveRecognitionModeActionMessage | LabelCaptureBasicOverlayForLabelCaptureActionMessage | LabelCaptureBasicOverlaySetDefaultFieldBrushActionMessage | LabelCaptureBasicOverlayGetDefaultFieldBrushActionMessage | LabelCaptureBasicOverlaySetDefaultLabelBrushActionMessage | LabelCaptureBasicOverlayGetDefaultLabelBrushActionMessage | LabelCaptureBasicOverlaySetBrushForFieldActionMessage | LabelCaptureBasicOverlaySetBrushForLabelActionMessage | LabelCaptureBasicOverlaySetListenerActionMessage | LabelCaptureBasicOverlayGetShouldShowScanAreaGuidesActionMessage | LabelCaptureBasicOverlaySetShouldShowScanAreaGuidesActionMessage | LabelCaptureBasicOverlayGetViewfinderActionMessage | LabelCaptureBasicOverlayUpdateViewfinderActionMessage | LabelCaptureAdvancedOverlayForLabelCaptureActionMessage | LabelCaptureAdvancedOverlaySetShouldShowScanAreaGuidesActionMessage | LabelCaptureAdvancedOverlayGetShouldShowScanAreaGuidesActionMessage | ReceiptScanningHandlerStartFlowActionMessage | ReceiptScanningHandlerFinishFlowActionMessage | ReceiptScanningHandlerAddListenerActionMessage | ReceiptScanningHandlerRemoveListenerActionMessage | ValidationFlowOverlayForLabelCaptureActionMessage | ValidationFlowOverlayApplySettingsActionMessage | ReceiptScanningOverlayForLabelCaptureActionMessage | ReceiptScanningOverlayApplySettingsActionMessage | ReceiptScanningSettingsCreateActionMessage | ReceiptScanningSettingsSetProcessingHintTextActionMessage | ReceiptScanningSettingsGetProcessingHintTextActionMessage | ValidationFlowHandlerCreateActionMessage | ValidationFlowHandlerStartCompleteLabelScanActionMessage | ValidationFlowHandlerStartPartialLabelScanActionMessage | ValidationFlowHandlerUpdateFieldValueActionMessage | ValidationFlowHandlerFinishFlowActionMessage | ValidationFlowHandlerPauseScanActionMessage | ValidationFlowHandlerResumeScanActionMessage | ValidationFlowHandlerResetActionMessage | ValidationFlowHandlerGetValidationFlowFieldsActionMessage | ValidationFlowHandlerCancelCloudBackupTaskForFieldActionMessage | ValidationFlowHandlerUncancelCloudBackupTaskForFieldActionMessage | ValidationFlowHandlerClearAllFieldsActionMessage | ValidationFlowSettingsCreateActionMessage | ValidationFlowSettingsSetMissingFieldsHintTextActionMessage | ValidationFlowSettingsGetMissingFieldsHintTextActionMessage | ValidationFlowSettingsSetStandbyHintTextActionMessage | ValidationFlowSettingsGetStandbyHintTextActionMessage | ValidationFlowSettingsSetValidationHintTextActionMessage | ValidationFlowSettingsGetValidationHintTextActionMessage | ValidationFlowSettingsSetValidationErrorTextActionMessage | ValidationFlowSettingsGetValidationErrorTextActionMessage | ValidationFlowSettingsSetRequiredFieldErrorTextActionMessage | ValidationFlowSettingsGetRequiredFieldErrorTextActionMessage | ValidationFlowSettingsSetManualInputButtonTextActionMessage | ValidationFlowSettingsGetManualInputButtonTextActionMessage | ValidationFlowSettingsSetFinishButtonTextActionMessage | ValidationFlowSettingsGetFinishButtonTextActionMessage | ValidationFlowSettingsSetRestartButtonTextActionMessage | ValidationFlowSettingsGetRestartButtonTextActionMessage | ValidationFlowSettingsSetPauseButtonTextActionMessage | ValidationFlowSettingsGetPauseButtonTextActionMessage | ValidationFlowSettingsSetAdaptiveScanningTextActionMessage | ValidationFlowSettingsGetAdaptiveScanningTextActionMessage | ValidationFlowSettingsSetScanningTextActionMessage | ValidationFlowSettingsGetScanningTextActionMessage | ValidationFlowSettingsSetPlaceholderTextForLabelDefinitionActionMessage | ValidationFlowSettingsGetPlaceholderTextForLabelDefinitionActionMessage; type DataCaptureCallbackMessageKeys = DataCaptureCallbackMessageKeys$1 | "labelCaptureBuildLabelCaptureSettings" | "labelCaptureBuildLabelDefinition" | "labelCaptureBuildCustomBarcode" | "labelCaptureBuildCustomText" | "labelCaptureBuildDateText" | "labelCaptureBuildExpiryDateText" | "labelCaptureBuildImeiOneBarcode" | "labelCaptureBuildImeiTwoBarcode" | "labelCaptureBuildPackingDateText" | "labelCaptureBuildPartNumberBarcode" | "labelCaptureBuildSerialNumberBarcode" | "labelCaptureBuildTotalPriceText" | "labelCaptureBuildUnitPriceText" | "labelCaptureBuildWeightText" | "labelCaptureModeCreate" | "labelCaptureModeIsEnabled" | "labelCaptureModeSetEnabled" | "labelCaptureModeApplySettings" | "labelCaptureOnObservationStarted" | "labelCaptureOnObservationStopped" | "labelCaptureOnSessionUpdated" | "labelCaptureModeAddListener" | "labelCaptureModeRemoveListener" | "labelCaptureModeUnsetValidationFlowHandler" | "labelCaptureSettingsGetLocationSelection" | "labelCaptureSettingsSetLocationSelection" | "labelCaptureSettingsGetProperty" | "labelCaptureSettingsSetProperty" | "labelCaptureBuildLabelFieldLocation" | "labelCaptureBasicOverlayOnLabelTapped" | "labelCaptureBasicOverlayBrushForField" | "labelCaptureBasicOverlayBrushForLabel" | "labelCaptureLabelDateFormatWithFormat" | "receiptScanningListenerOnProcessingStarted" | "receiptScanningListenerOnReceiptScanned" | "receiptScanningListenerOnReceiptScanningFailed" | "validationFlowListenerOnFieldsScanned" | "validationFlowListenerOnScanTimeout" | "validationFlowListenerOnLabelIsMissingRequiredField" | "validationFlowListenerOnManualInput" | "validationFlowListenerOnCloudBackupServiceStarted" | "validationFlowListenerOnCloudBackupServiceStopped" | "validationFlowListenerOnStateChanged" | "validationFlowListenerOnResultUpdate" | "validationFlowFeedbackForCloudBackupEmit"; interface BaseDataCaptureCallbackMessage { type: DataCaptureCallbackMessageKeys; } interface LabelCaptureBasicOverlayOnLabelTappedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBasicOverlayOnLabelTapped"; payload: { labelJSON: CapturedLabelJSON; }; } interface LabelCaptureBasicOverlayBrushForFieldCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBasicOverlayBrushForField"; payload: { fieldJSON: LabelFieldJSON; labelJSON: CapturedLabelJSON; }; } interface LabelCaptureBasicOverlayBrushForLabelCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBasicOverlayBrushForLabel"; payload: { labelJSON: CapturedLabelJSON; }; } interface LabelCaptureBuildLabelCaptureSettingsCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildLabelCaptureSettings"; payload: NativeProxyHandle; } interface LabelCaptureBuildLabelDefinitionCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildLabelDefinition"; payload: NativeProxyHandle; } interface LabelCaptureBuildCustomBarcodeCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildCustomBarcode"; payload: NativeProxyHandle; } interface LabelCaptureBuildCustomTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildCustomText"; payload: NativeProxyHandle; } interface LabelCaptureBuildDateTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildDateText"; payload: NativeProxyHandle; } interface LabelCaptureBuildExpiryDateTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildExpiryDateText"; payload: NativeProxyHandle; } interface LabelCaptureBuildImeiOneBarcodeCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildImeiOneBarcode"; payload: NativeProxyHandle; } interface LabelCaptureBuildImeiTwoBarcodeCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildImeiTwoBarcode"; payload: NativeProxyHandle; } interface LabelCaptureBuildPackingDateTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildPackingDateText"; payload: NativeProxyHandle; } interface LabelCaptureBuildPartNumberBarcodeCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildPartNumberBarcode"; payload: NativeProxyHandle; } interface LabelCaptureBuildSerialNumberBarcodeCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildSerialNumberBarcode"; payload: NativeProxyHandle; } interface LabelCaptureBuildTotalPriceTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildTotalPriceText"; payload: NativeProxyHandle; } interface LabelCaptureBuildUnitPriceTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildUnitPriceText"; payload: NativeProxyHandle; } interface LabelCaptureBuildWeightTextCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildWeightText"; payload: NativeProxyHandle; } interface CreateLabelCaptureCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureModeCreate"; payload: NativeProxyHandle; } interface LabelCaptureIsEnabledCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureModeIsEnabled"; payload: boolean; } interface LabelCaptureSetEnabledCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureModeSetEnabled"; } interface LabelCaptureApplySettingsCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureModeApplySettings"; } interface LabelCaptureOnObservationStartedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureOnObservationStarted"; } interface LabelCaptureOnObservationStoppedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureOnObservationStopped"; } interface LabelCaptureOnSessionUpdatedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureOnSessionUpdated"; payload: { session: LabelCaptureSessionJSON; data: PrivateLoadableFrameData; }; } interface LabelCaptureAddListenerCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureModeAddListener"; } interface LabelCaptureRemoveListenerCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureModeRemoveListener"; } interface LabelCaptureSettingsGetLocationSelectionCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureSettingsGetLocationSelection"; payload: LocationSelectionJSON; } interface LabelCaptureSettingsSetLocationSelectionCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureSettingsSetLocationSelection"; } interface LabelCaptureSettingsGetPropertyCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureSettingsGetProperty"; payload: unknown; } interface LabelCaptureSettingsSetPropertyCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureSettingsSetProperty"; } interface LabelCaptureBuildLabelFieldLocationCallbackMessage extends BaseDataCaptureCallbackMessage { type: "labelCaptureBuildLabelFieldLocation"; payload: NativeProxyHandle; } interface ReceiptScanningListenerOnProcessingStartedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "receiptScanningListenerOnProcessingStarted"; } interface ReceiptScanningListenerOnReceiptScannedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "receiptScanningListenerOnReceiptScanned"; payload: { result: ReceiptScanningResultJSON; }; } interface ReceiptScanningListenerOnReceiptScanningFailedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "receiptScanningListenerOnReceiptScanningFailed"; } interface ValidationFlowListenerOnFieldsScannedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnFieldsScanned"; payload: { fields: ValidationFlowFieldJSON[]; }; } interface ValidationFlowListenerOnScanTimeoutCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnScanTimeout"; } interface ValidationFlowListenerOnLabelIsMissingRequiredFieldCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnLabelIsMissingRequiredField"; payload: { fields: ValidationFlowFieldJSON[]; }; } interface ValidationFlowListenerOnManualInputCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnManualInput"; payload: { field: ValidationFlowFieldJSON; oldValue: string | undefined; newValue: string; }; } interface ValidationFlowListenerOnCloudBackupServiceStartedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnCloudBackupServiceStarted"; } interface ValidationFlowListenerOnCloudBackupServiceStoppedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnCloudBackupServiceStopped"; } interface ValidationFlowListenerOnStateChangedCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnStateChanged"; payload: { state: ValidationFlowState; }; } interface ValidationFlowListenerOnResultUpdateCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowListenerOnResultUpdate"; payload: { updateType: LabelResultUpdateType; fields: ValidationFlowFieldJSON[]; data?: PrivateLoadableFrameData; }; } interface ValidationFlowFeedbackForCloudBackupEmitCallbackMessage extends BaseDataCaptureCallbackMessage { type: "validationFlowFeedbackForCloudBackupEmit"; } type DataCaptureCallbackMessage = DataCaptureCallbackMessage$1 | LabelCaptureBuildLabelCaptureSettingsCallbackMessage | LabelCaptureBuildLabelDefinitionCallbackMessage | LabelCaptureBuildCustomBarcodeCallbackMessage | LabelCaptureBuildCustomTextCallbackMessage | LabelCaptureBuildDateTextCallbackMessage | LabelCaptureBuildExpiryDateTextCallbackMessage | LabelCaptureBuildImeiOneBarcodeCallbackMessage | LabelCaptureBuildImeiTwoBarcodeCallbackMessage | LabelCaptureBuildPackingDateTextCallbackMessage | LabelCaptureBuildPartNumberBarcodeCallbackMessage | LabelCaptureBuildSerialNumberBarcodeCallbackMessage | LabelCaptureBuildTotalPriceTextCallbackMessage | LabelCaptureBuildUnitPriceTextCallbackMessage | LabelCaptureBuildWeightTextCallbackMessage | CreateLabelCaptureCallbackMessage | LabelCaptureIsEnabledCallbackMessage | LabelCaptureSetEnabledCallbackMessage | LabelCaptureApplySettingsCallbackMessage | LabelCaptureOnObservationStartedCallbackMessage | LabelCaptureOnObservationStoppedCallbackMessage | LabelCaptureOnSessionUpdatedCallbackMessage | LabelCaptureAddListenerCallbackMessage | LabelCaptureRemoveListenerCallbackMessage | LabelCaptureSettingsGetLocationSelectionCallbackMessage | LabelCaptureSettingsSetLocationSelectionCallbackMessage | LabelCaptureSettingsGetPropertyCallbackMessage | LabelCaptureSettingsSetPropertyCallbackMessage | LabelCaptureBuildLabelFieldLocationCallbackMessage | LabelCaptureBasicOverlayOnLabelTappedCallbackMessage | LabelCaptureBasicOverlayBrushForFieldCallbackMessage | LabelCaptureBasicOverlayBrushForLabelCallbackMessage | ReceiptScanningListenerOnProcessingStartedCallbackMessage | ReceiptScanningListenerOnReceiptScannedCallbackMessage | ReceiptScanningListenerOnReceiptScanningFailedCallbackMessage | ValidationFlowListenerOnFieldsScannedCallbackMessage | ValidationFlowListenerOnScanTimeoutCallbackMessage | ValidationFlowListenerOnLabelIsMissingRequiredFieldCallbackMessage | ValidationFlowListenerOnManualInputCallbackMessage | ValidationFlowListenerOnCloudBackupServiceStartedCallbackMessage | ValidationFlowListenerOnCloudBackupServiceStoppedCallbackMessage | ValidationFlowListenerOnStateChangedCallbackMessage | ValidationFlowListenerOnResultUpdateCallbackMessage | ValidationFlowFeedbackForCloudBackupEmitCallbackMessage; type PayloadForCommand = A extends { command: C; } ? A : never; interface DataCaptureWorker extends Omit { onmessage: // biome-ignore lint/suspicious/noExplicitAny: Strict type-checking isn't needed for this parameter. ((this: Worker, event_: MessageEvent & { data: any; }) => void) | null; postMessage: (message: PayloadForCommand, transfer?: Transferable[]) => void; } type CommandAndPayload = A extends { command: C; } ? A : never; type WorkerCommandPayload = Omit, "command" | "id">; interface NativeProxyHandle { className: keyof LabelCaptureModule; id: number; } type NativeProxyMethod = (handle: NativeProxyHandle, ...arguments_: Arguments) => Promise; type NativeProxy = { [Member in keyof NativeClass]: NativeClass[Member] extends (...arguments_: infer Arguments) => infer ReturnValue ? ReturnValue extends (LabelField | CapturedLabel | LabelFieldDefinition)[] ? NativeProxyMethod : ReturnValue extends LabelFieldLocation | undefined ? NativeProxyMethod : ReturnValue extends Quadrilateral | LabelFieldDefinition | LabelCaptureSession | Barcode ? NativeProxyMethod : NativeProxyMethod> : NativeClass[Member]; }; declare abstract class NativeProxyAdapter { abstract handle: NativeProxyHandle; handleToNativeImplementationMap: Map; nativeImplementationToHandleMap: WeakMap; get Module(): Module; mapNativeImplementationToHandle(nativeImplementation: NativeClass): NativeProxyHandle; nativeImplementationFromHandle(handle: NativeProxyHandle): NativeClass; handleFromNativeImplementation(nativeImplementation: NativeClass): NativeProxyHandle; } export { type LabelCaptureBuildExpiryDateTextActionMessage as $, AdaptiveRecognitionResult as A, type BaseDataCaptureCallbackMessage as B, type CommandAndPayload as C, type DataCaptureCallbackMessage as D, type LabelCaptureBasicOverlayGetDefaultFieldBrushActionMessage as E, type LabelCaptureBasicOverlayGetDefaultLabelBrushActionMessage as F, type LabelCaptureBasicOverlayGetShouldShowScanAreaGuidesActionMessage as G, type LabelCaptureBasicOverlayGetViewfinderActionMessage as H, type LabelCaptureBasicOverlayOnLabelTappedCallbackMessage as I, type LabelCaptureBasicOverlaySetBrushForFieldActionMessage as J, type LabelCaptureBasicOverlaySetBrushForLabelActionMessage as K, LabelCaptureAdaptiveRecognitionSettings as L, type Module as M, type NativeProxyHandle as N, type LabelCaptureBasicOverlaySetDefaultFieldBrushActionMessage as O, type LabelCaptureBasicOverlaySetDefaultLabelBrushActionMessage as P, type LabelCaptureBasicOverlaySetListenerActionMessage as Q, ReceiptScanningResult as R, type LabelCaptureBasicOverlaySetShouldShowScanAreaGuidesActionMessage as S, type LabelCaptureBasicOverlayUpdateViewfinderActionMessage as T, type LabelCaptureBuildCustomBarcodeActionMessage as U, type LabelCaptureBuildCustomBarcodeCallbackMessage as V, type WorkerCommandPayload as W, type LabelCaptureBuildCustomTextActionMessage as X, type LabelCaptureBuildCustomTextCallbackMessage as Y, type LabelCaptureBuildDateTextActionMessage as Z, type LabelCaptureBuildDateTextCallbackMessage as _, AdaptiveRecognitionResultType as a, type ValidationFlowFeedbackForCloudBackupEmitCallbackMessage as a$, type LabelCaptureBuildExpiryDateTextCallbackMessage as a0, type LabelCaptureBuildImeiOneBarcodeActionMessage as a1, type LabelCaptureBuildImeiOneBarcodeCallbackMessage as a2, type LabelCaptureBuildImeiTwoBarcodeActionMessage as a3, type LabelCaptureBuildImeiTwoBarcodeCallbackMessage as a4, type LabelCaptureBuildLabelCaptureSettingsActionMessage as a5, type LabelCaptureBuildLabelCaptureSettingsCallbackMessage as a6, type LabelCaptureBuildLabelDefinitionActionMessage as a7, type LabelCaptureBuildLabelDefinitionCallbackMessage as a8, type LabelCaptureBuildLabelFieldLocationActionMessage as a9, type LabelCaptureSettingsGetLocationSelectionActionMessage as aA, type LabelCaptureSettingsGetLocationSelectionCallbackMessage as aB, type LabelCaptureSettingsGetPropertyActionMessage as aC, type LabelCaptureSettingsGetPropertyCallbackMessage as aD, type LabelCaptureSettingsSetLocationSelectionActionMessage as aE, type LabelCaptureSettingsSetLocationSelectionCallbackMessage as aF, type LabelCaptureSettingsSetPropertyActionMessage as aG, type LabelCaptureSettingsSetPropertyCallbackMessage as aH, type LabelCaptureUnsetValidationFlowHandlerActionMessage as aI, type LabelData as aJ, type LabelDefinitionSetAdaptiveRecognitionModeActionMessage as aK, type LabelInternalModuleCapture as aL, type LabelInternalModuleData as aM, type ModuleHandler as aN, type PayloadForCommand as aO, type ReceiptScanningHandlerAddListenerActionMessage as aP, type ReceiptScanningHandlerFinishFlowActionMessage as aQ, type ReceiptScanningHandlerRemoveListenerActionMessage as aR, type ReceiptScanningHandlerStartFlowActionMessage as aS, type ReceiptScanningListenerOnProcessingStartedCallbackMessage as aT, type ReceiptScanningListenerOnReceiptScannedCallbackMessage as aU, type ReceiptScanningListenerOnReceiptScanningFailedCallbackMessage as aV, type ReceiptScanningOverlayApplySettingsActionMessage as aW, type ReceiptScanningOverlayForLabelCaptureActionMessage as aX, type ReceiptScanningSettingsCreateActionMessage as aY, type ReceiptScanningSettingsGetProcessingHintTextActionMessage as aZ, type ReceiptScanningSettingsSetProcessingHintTextActionMessage as a_, type LabelCaptureBuildLabelFieldLocationCallbackMessage as aa, type LabelCaptureBuildPackingDateTextActionMessage as ab, type LabelCaptureBuildPackingDateTextCallbackMessage as ac, type LabelCaptureBuildPartNumberBarcodeActionMessage as ad, type LabelCaptureBuildPartNumberBarcodeCallbackMessage as ae, type LabelCaptureBuildPriceCaptureDefinitionActionMessage as af, type LabelCaptureBuildSerialNumberBarcodeActionMessage as ag, type LabelCaptureBuildSerialNumberBarcodeCallbackMessage as ah, type LabelCaptureBuildTotalPriceTextActionMessage as ai, type LabelCaptureBuildTotalPriceTextCallbackMessage as aj, type LabelCaptureBuildUnitPriceTextActionMessage as ak, type LabelCaptureBuildUnitPriceTextCallbackMessage as al, type LabelCaptureBuildVinLabelDefinitionActionMessage as am, type LabelCaptureBuildWeightTextActionMessage as an, type LabelCaptureBuildWeightTextCallbackMessage as ao, type LabelCaptureIsEnabledActionMessage as ap, type LabelCaptureIsEnabledCallbackMessage as aq, type LabelCaptureOnObservationStartedCallbackMessage as ar, type LabelCaptureOnObservationStoppedCallbackMessage as as, type LabelCaptureOnSessionUpdatedCallbackMessage as at, type LabelCaptureRemoveFromContextActionMessage as au, type LabelCaptureRemoveListenerActionMessage as av, type LabelCaptureRemoveListenerCallbackMessage as aw, type LabelCaptureSetEnabledActionMessage as ax, type LabelCaptureSetEnabledCallbackMessage as ay, type LabelCaptureSettingsGetBlueprintJsonActionMessage as az, type ReceiptScanningResultJSON as b, type ValidationFlowHandlerCancelCloudBackupTaskForFieldActionMessage as b0, type ValidationFlowHandlerClearAllFieldsActionMessage as b1, type ValidationFlowHandlerCreateActionMessage as b2, type ValidationFlowHandlerFinishFlowActionMessage as b3, type ValidationFlowHandlerGetValidationFlowFieldsActionMessage as b4, type ValidationFlowHandlerPauseScanActionMessage as b5, type ValidationFlowHandlerResetActionMessage as b6, type ValidationFlowHandlerResumeScanActionMessage as b7, type ValidationFlowHandlerStartCompleteLabelScanActionMessage as b8, type ValidationFlowHandlerStartPartialLabelScanActionMessage as b9, type ValidationFlowSettingsSetFinishButtonTextActionMessage as bA, type ValidationFlowSettingsSetManualInputButtonTextActionMessage as bB, type ValidationFlowSettingsSetMissingFieldsHintTextActionMessage as bC, type ValidationFlowSettingsSetPauseButtonTextActionMessage as bD, type ValidationFlowSettingsSetPlaceholderTextForLabelDefinitionActionMessage as bE, type ValidationFlowSettingsSetRequiredFieldErrorTextActionMessage as bF, type ValidationFlowSettingsSetRestartButtonTextActionMessage as bG, type ValidationFlowSettingsSetScanningTextActionMessage as bH, type ValidationFlowSettingsSetStandbyHintTextActionMessage as bI, type ValidationFlowSettingsSetValidationErrorTextActionMessage as bJ, type ValidationFlowSettingsSetValidationHintTextActionMessage as bK, type WorkerResponse as bL, type NativeProxyMethod as bM, type ValidationFlowHandlerUncancelCloudBackupTaskForFieldActionMessage as ba, type ValidationFlowHandlerUpdateFieldValueActionMessage as bb, type ValidationFlowListenerOnCloudBackupServiceStartedCallbackMessage as bc, type ValidationFlowListenerOnCloudBackupServiceStoppedCallbackMessage as bd, type ValidationFlowListenerOnFieldsScannedCallbackMessage as be, type ValidationFlowListenerOnLabelIsMissingRequiredFieldCallbackMessage as bf, type ValidationFlowListenerOnManualInputCallbackMessage as bg, type ValidationFlowListenerOnResultUpdateCallbackMessage as bh, type ValidationFlowListenerOnScanTimeoutCallbackMessage as bi, type ValidationFlowListenerOnStateChangedCallbackMessage as bj, type ValidationFlowOverlayApplySettingsActionMessage as bk, type ValidationFlowOverlayForLabelCaptureActionMessage as bl, type ValidationFlowSettingsCreateActionMessage as bm, type ValidationFlowSettingsGetAdaptiveScanningTextActionMessage as bn, type ValidationFlowSettingsGetFinishButtonTextActionMessage as bo, type ValidationFlowSettingsGetManualInputButtonTextActionMessage as bp, type ValidationFlowSettingsGetMissingFieldsHintTextActionMessage as bq, type ValidationFlowSettingsGetPauseButtonTextActionMessage as br, type ValidationFlowSettingsGetPlaceholderTextForLabelDefinitionActionMessage as bs, type ValidationFlowSettingsGetRequiredFieldErrorTextActionMessage as bt, type ValidationFlowSettingsGetRestartButtonTextActionMessage as bu, type ValidationFlowSettingsGetScanningTextActionMessage as bv, type ValidationFlowSettingsGetStandbyHintTextActionMessage as bw, type ValidationFlowSettingsGetValidationErrorTextActionMessage as bx, type ValidationFlowSettingsGetValidationHintTextActionMessage as by, type ValidationFlowSettingsSetAdaptiveScanningTextActionMessage as bz, type ReceiptScanningSettingsJSON as c, type DataCaptureWorker as d, type DataCaptureActionMessageKey as e, type AnyDataCaptureActionMessage as f, NativeProxyAdapter as g, type NativeProxy as h, type LabelCaptureModule as i, type AugmentedCoreModule as j, type AugmentedWorker as k, type CreateLabelCaptureActionMessage as l, type CreateLabelCaptureCallbackMessage as m, type DataCaptureActionMessage as n, type DataCaptureCallbackMessageKeys as o, type LabelCaptureAddListenerActionMessage as p, type LabelCaptureAddListenerCallbackMessage as q, type LabelCaptureAddToContextActionMessage as r, type LabelCaptureAdvancedOverlayForLabelCaptureActionMessage as s, type LabelCaptureAdvancedOverlayGetShouldShowScanAreaGuidesActionMessage as t, type LabelCaptureAdvancedOverlaySetShouldShowScanAreaGuidesActionMessage as u, type LabelCaptureApplySettingsActionMessage as v, type LabelCaptureApplySettingsCallbackMessage as w, type LabelCaptureBasicOverlayBrushForFieldCallbackMessage as x, type LabelCaptureBasicOverlayBrushForLabelCallbackMessage as y, type LabelCaptureBasicOverlayForLabelCaptureActionMessage as z };