import { n as BarcodeArSettingsJSON } from "./BarcodeArSettings-CDjBEQBe.js"; import { r as BarcodeFindItemJSON } from "./BarcodeFindItem-B-Z3k7wI.js"; import { n as BarcodeFindSettingsJSON } from "./BarcodeFindSettings-B_STCRxz.js"; import { n as BarcodeFindBasicOverlayJSON } from "./BarcodeFindBasicOverlay-o6FxUPuD.js"; import { H as Module$1, ct as JSONParseable, h as BarcodeCaptureModule, lt as WasmFrameData, st as CaptureModeDeserializerInstance, z as DataCaptureCallbackMessage$1 } from "./dataCaptureWorkerRelated-DCtM_1Ae.js"; import { t as Property } from "./PropertyBehaviorSubject-C6JRRRVs.js"; import { DataCaptureEngine } from "@scandit/web-datacapture-core/build/js/worker/index.js"; import { ModuleHandler, Vector, WorkerFunctions } from "@scandit/web-datacapture-core/build/js/worker/index"; //#region src/main/worker/BarcodeBatchMode.d.ts declare class BarcodeBatchMode { barcodeBatchDeserializer: CaptureModeDeserializerInstance; private readonly Module; private readonly coreEngine; private readonly workerFunctions; constructor(coreEngine: DataCaptureEngine$1, Module: Module$1, workerFunctions: WorkerFunctions$1); barcodeBatchDidUpdateSession(session: JSONParseable): void; getBatchDeserializer(): CaptureModeDeserializerInstance; setup(): void; protected onTrackedBarcodeTapped(trackedBarcode: JSONParseable): void; } //#endregion //#region src/main/worker/BarcodeCaptureMode.d.ts declare class BarcodeCaptureMode { barcodeCaptureDeserializer: CaptureModeDeserializerInstance; barcodeBatchDeserializer: CaptureModeDeserializerInstance; private readonly Module; private readonly coreEngine; private readonly workerFunctions; private captureListenerSet; constructor(coreEngine: DataCaptureEngine$1, Module: Module$1, workerFunctions: WorkerFunctions$1); barcodeCaptureDidUpdateSession(session: JSONParseable): void; barcodeBatchDidUpdateSession(session: JSONParseable): void; getCaptureDeserializer(): CaptureModeDeserializerInstance; getTrackingDeserializer(): CaptureModeDeserializerInstance; setup(): void; successFeedback(): void; protected barcodeCaptureDidScan(session: JSONParseable, frameData: WasmFrameData): void; } //#endregion //#region src/main/worker/BarcodeFindMode.d.ts declare class BarcodeFindMode { private readonly Module; private readonly coreEngine; private readonly workerFunctions; private barcodeFind; private basicOverlay; private transparentGuidanceHintStyle; private customerTransformation; constructor(coreEngine: DataCaptureEngine$1, Module: Module$1, workerFunctions: WorkerFunctions$1); forSettings(settings: BarcodeFindSettingsJSON): Promise; barcodeFindFeedback(): void; start(): void; stop(): void; pause(): void; setEnabled(enabled: boolean): void; setItemList(list: BarcodeFindItemJSON[]): void; removeMode(): Promise; addBasicOverlay(): void; removeBasicOverlay(): void; applySettings(findSettings: BarcodeFindSettingsJSON): Promise; updateBasicOverlay(json: BarcodeFindBasicOverlayJSON): void; setTransformerFunction(transformation?: ((data: string) => string) | null): void; private successFeedback; private listUpdatedFeedback; private setToast; private setGuidance; private createWebFindGuidanceHandler; } //#endregion //#region src/main/worker/SparkScanMode.d.ts declare class SparkScanMode { sparkScanDeserializer: CaptureModeDeserializerInstance; private readonly Module; private readonly coreEngine; private readonly workerFunctions; private captureListenerSet; private sparkScanOverlay?; private propertyPushSource; private sparkScan?; constructor(coreEngine: DataCaptureEngine$1, Module: Module$1, workerFunctions: WorkerFunctions$1); sparkScanDidUpdateSession(session: JSONParseable): void; getSparkScanDeserializer(): CaptureModeDeserializerInstance; setup(): void; emitErrorFeedback(shouldRemoveBrush: boolean): void; overlayReadyForDraw(): void; discardEnqueuedData(): void; analyticsManagerPropertyChanged(property: Property): void; successFeedback(): void; selectItemWithSmartScanSelection(): void; removeMode(): Promise; protected sparkScanDidScan(session: JSONParseable, frameData: WasmFrameData): void; } //#endregion //#region src/main/worker/dataCaptureEngine.d.ts interface WorkerFunctions$1 extends WorkerFunctions { postMessage: (message: DataCaptureCallbackMessage$1, transfer?: Transferable[]) => void; getOffscreenCanvas: () => OffscreenCanvas | undefined; } interface BarcodeCommand { command: string; } /** * DataCaptureEngine is an abstraction of the engine, it is created by the engine worker * and should be used as a singleton. It calls the underlying engine methods directly. */ declare class DataCaptureEngine$1 extends DataCaptureEngine { barcodeFindMode: BarcodeFindMode; sparkScanMode: SparkScanMode; barcodeArMode: BarcodeArMode; protected barcodeCaptureMode: BarcodeCaptureMode; protected barcodeBatchMode: BarcodeBatchMode; protected workerFunctions: WorkerFunctions$1; constructor(moduleHandler: ModuleHandler, workerFunctions: WorkerFunctions$1); getModeDeserializers(): Vector; protected getWasmSideModuleFileName(): string; protected getWasmCoreFileName(simdSupport: boolean, multithreadSupport: boolean): string; protected getWasmCoreExpectedHash(simdSupport: boolean, multithreadSupport: boolean): string; protected getWasmMetadata(): Record; } //#endregion //#region src/main/worker/BarcodeArMode.d.ts declare class BarcodeArMode { private readonly Module; private readonly coreEngine; private readonly workerFunctions; private barcodeAr; constructor(coreEngine: DataCaptureEngine$1, Module: Module$1, workerFunctions: WorkerFunctions$1); forSettings(settings: BarcodeArSettingsJSON): Promise; start(): void; pause(): void; stop(): void; setEnabled(enabled: boolean): void; removeMode(): Promise; applySettings(checkSettingsJSON: BarcodeArSettingsJSON): void; } //#endregion export { SparkScanMode as a, BarcodeBatchMode as c, WorkerFunctions$1 as i, BarcodeCommand as n, BarcodeFindMode as o, DataCaptureEngine$1 as r, BarcodeCaptureMode as s, BarcodeArMode as t };