import { c as NativeProxyHandle, r as LabelCaptureAdaptiveRecognitionSettings, t as AdaptiveRecognitionResult } from "../AdaptiveRecognitionResult-Clnk-SP8.js"; import { t as LabelCapture } from "../LabelCapture-BZi-QVCO.js"; import { DataCaptureOverlay, DataCaptureView } from "@scandit/web-datacapture-core"; import { nativeHandle } from "@scandit/web-datacapture-core/build/js/private/nativeHandle.js"; import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable.js"; //#region src/main/api/LabelCaptureAdaptiveRecognitionOverlay.d.ts interface LabelCaptureAdaptiveRecognitionOverlayJSON { type: "AdaptiveRecognitionOverlay"; nativeHandle: NativeProxyHandle; } interface LabelCaptureAdaptiveRecognitionListener { onRecognized?(result: AdaptiveRecognitionResult): void; onFailure?(): void; } /** * Overlay for displaying receipt scanning processing animation. * Shows visual feedback (animated border and scanning lines) during receipt processing. * Result and error displays are delegated to application listeners (following iOS/Android pattern). */ declare class LabelCaptureAdaptiveRecognitionOverlay implements DataCaptureOverlay, Serializable { [nativeHandle]: NativeProxyHandle; listener: LabelCaptureAdaptiveRecognitionListener | null; private labelCapture; private receiptScanningHandler; private dataCaptureView; private overlayElement; private onContextUpdatedListenerHandler; private handlerListener; private failedNotificationConfiguration; /** * TODO: flag to prevent multiple calls to the same method, * should be removed when the native implementation is fixed */ private _isProcessing; private constructor(); toJSONObject(): LabelCaptureAdaptiveRecognitionOverlayJSON; /** * Creates a receipt scanning overlay for the given label capture and view. * @param labelCapture - The label capture instance * @param view - The data capture view to attach the overlay to * @returns A new LabelCaptureAdaptiveRecognitionOverlay instance */ static withLabelCaptureForView(labelCapture: LabelCapture, view?: DataCaptureView): Promise; private onProcessingStarted; private onReceiptScanned; private onReceiptScanningFailed; applySettings(settings: LabelCaptureAdaptiveRecognitionSettings): Promise; private mount; private unmount; private onContextUpdatedListener; private setupUI; private showProcessingAnimation; private hideProcessingAnimation; } //#endregion export { LabelCaptureAdaptiveRecognitionListener, LabelCaptureAdaptiveRecognitionOverlay, LabelCaptureAdaptiveRecognitionOverlayJSON };