import { BarcodeCapture } from "./BarcodeCapture.js"; import { Brush, BrushJSON, DataCaptureOverlay, DataCaptureView, Viewfinder, ViewfinderJSON } from "@scandit/web-datacapture-core"; import { Serializable } from "@scandit/web-datacapture-core/build/js/private/Serializable"; //#region src/main/BarcodeCaptureOverlay.d.ts interface BarcodeCaptureOverlayJSON { brush: BrushJSON; drawLocalizedOnlyBarcodes: boolean; shouldShowScanAreaGuides: boolean; shouldRemoveLocationsAfterScan: boolean; type: "barcodeCapture"; viewfinder: ViewfinderJSON; } declare class BarcodeCaptureOverlay implements DataCaptureOverlay, Serializable { private readonly type; private _brush; private _shouldShowScanAreaGuides; private _shouldRemoveLocationsAfterScan; private _viewfinder; private barcodeCapture; static withBarcodeCapture(barcodeCapture: BarcodeCapture): Promise; static withBarcodeCaptureForView(barcodeCapture: BarcodeCapture, view: DataCaptureView | null): Promise; getBrush(): Brush; getViewfinder(): Viewfinder | null; setBrush(brush: Brush): Promise; setShouldShowScanAreaGuides(shouldShowScanAreaGuides: boolean): Promise; setShouldRemoveLocationsAfterScan(shouldRemoveLocationsAfterScan: boolean): Promise; setViewfinder(viewfinder: Viewfinder | null): Promise; shouldShowScanAreaGuides(): boolean; shouldRemoveLocationsAfterScan(): boolean; toJSONObject(): BarcodeCaptureOverlayJSON; } //#endregion export { BarcodeCaptureOverlay, BarcodeCaptureOverlayJSON };