import { t as LabelField } from "../../LabelField-BAO35-Eb.js"; import { c as NativeProxyHandle } from "../../AdaptiveRecognitionResult-Clnk-SP8.js"; import { t as LabelCapture } from "../../LabelCapture-BZi-QVCO.js"; import { LabelCaptureValidationFlowSettings } from "../LabelCaptureValidationFlowSettings.js"; import { LabelResultUpdateType } from "../LabelResultUpdateType.js"; import { DataCaptureOverlay, DataCaptureView, FrameData } 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/LabelCaptureValidationFlow/LabelCaptureValidationFlowOverlay.d.ts interface LabelCaptureValidationFlowOverlayJSON { type: "ValidationFlowOverlay"; nativeHandle: NativeProxyHandle; } interface LabelCaptureValidationFlowListener { onValidationFlowLabelCaptured(fields: LabelField[]): void; onManualInput(field: LabelField, oldValue: string | undefined, newValue: string): void; onValidationFlowResultUpdate?(type: LabelResultUpdateType, fields: LabelField[], frameData: FrameData | null): void; } declare class LabelCaptureValidationFlowOverlay implements DataCaptureOverlay, Serializable { [nativeHandle]: NativeProxyHandle; listener: LabelCaptureValidationFlowListener; private labelCapture; private stateManager; private presenter; private onContextUpdatedListenerHandler; private feedback_; private originalLabelCaptureFeedback; private settings; private dataCaptureView; static withLabelCaptureForView(labelCapture: LabelCapture, dataCaptureView: DataCaptureView): Promise; applySettings(settings: LabelCaptureValidationFlowSettings): Promise; private constructor(); toJSONObject(): LabelCaptureValidationFlowOverlayJSON; private onAddOverlay; private onRemoveOverlay; /** * This listener is used to remove the event listeners when the overlay is removed * from the data capture view */ private onContextUpdatedListener; } //#endregion export { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON };