import { AugmentedWorker, ModuleHandler, WasmFrameData } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
import { WorkerMain as WorkerMain$1 } from '@scandit/web-datacapture-core/build/js/worker/index.js';
import { b as LabelCaptureListener, L as LabelCapture, c as LabelCaptureSession } from '../sdcLabelInternalModuleCapture-CxPSiq2o.js';
import { DataCaptureEngine } from './dataCaptureEngine.js';
import { M as Module, e as DataCaptureActionMessageKey, D as DataCaptureCallbackMessage, f as AnyDataCaptureActionMessage } from '../NativeProxy-BpXwaSl-.js';
import '../djinni-types/sdcBarcodeData.js';
import '../djinni-types/sdcSymbologySettings.js';
import '../djinni-types/sdcCoreInternalSdkArea.js';
import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
import '../djinni-types/sdcCoreCommonGraphic.js';
import '../djinni-types/sdcCoreCommonGeometry.js';
import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
import '../djinni-types/sdcCoreInternalSdkOcr.js';
import '../djinni-types/sdcCoreCommon.js';
import '../djinni-types/sdcLabelData.js';
import '../djinni-types/sdcLabelInternalModuleData.js';
import '../djinni-types/sdcBarcodeInternalSdkData.js';
import '../djinni-types/sdcCoreCommonBuffer.js';
import '@scandit/web-datacapture-core/build/js/worker/index';
import '@scandit/web-datacapture-barcode';
import '../djinni-types/sdcCoreInternalSdkUiViewfinder.js';
import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
import '../djinni-types/sdcCoreInternalSdkCapture.js';
import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
import '@scandit/web-datacapture-core';
import '../api/AdaptiveRecognitionMode.js';
import '../api/CapturedLabel.js';
import '../api/LabelField.js';
import '../api/LabelFieldState.js';
import '../api/LabelFieldType.js';
import '../api/LabelFieldValueType.js';
import '../api/LabelDateResult.js';
import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
import '../api/LabelCaptureSession.js';
import '../api/LabelDateFormat.js';
import '../api/LabelDateComponentFormat.js';
import '../api/LabelFieldLocationType.js';
import '../api/ReceiptScanningLineItem.js';
import '../api/ValidationFlowField.js';

declare class WorkerMain extends WorkerMain$1<DataCaptureEngine, Module> implements LabelCaptureListener {
    private labelCaptureHandler;
    private fieldBuilderHandler;
    private settingsHandler;
    private labelCaptureBasicOverlayHandler;
    private labelCaptureAdvancedOverlayHandler;
    private validationFlowHandler;
    private receiptScanningHandler;
    constructor(workerSelf: AugmentedWorker<Module>, module: ModuleHandler<Module>);
    get Module(): Module;
    respondWith<T = unknown>(command: DataCaptureActionMessageKey, requestId: number, executor: () => T): Promise<void>;
    postCallbackMessage(message: DataCaptureCallbackMessage, transfer?: Transferable[]): void;
    onMessage(event: MessageEvent<AnyDataCaptureActionMessage>): boolean;
    onObservationStarted(): void;
    onObservationStopped(): void;
    onSessionUpdated(_mode: LabelCapture, session: LabelCaptureSession, data: WasmFrameData): void;
}

export { WorkerMain };
