import type * as types from "./types"; import type { ScanRef } from "../FormDefinition"; import type { FormElementPropertyConstraints, PropertyConstraintsWithDefault, PropertyConstraintsWithMinimum } from "../utils"; export interface Scanner extends types.ElementBase, types.EditableElement, types.ElementWithAutoActivate, types.ElementWithRequire { /** True if this element should support manual user entry, false otherwise. */ readonly manualEntry: boolean; /** Indicates whether to support barcode scanning, qrcode scanning or both. */ readonly scanType: "barcode" | "qrcode" | "both"; /** Indicates the current value. */ readonly value: ScanRef; } interface ScannerConfiguration extends FormElementPropertyConstraints { rows: PropertyConstraintsWithDefault & PropertyConstraintsWithMinimum; } /** * Constraints that the Scanner enforces on the rows. */ export declare const scannerConfiguration: ScannerConfiguration; export {};