import type TextInput from "./TextInput.js";
import type { TextInputProperties } from "./TextInput.js";

export interface BarcodeScannerInputProperties extends TextInputProperties {}

/**
 * The `BarcodeScannerInput` class defines the desired user interface for a barcode or QR code scanner. If this input type is used in an ArcGIS Maps SDK for JavaScript web application, it will default to the [TextBoxInput](https://developers.arcgis.com/javascript/latest/references/core/form/elements/inputs/TextBoxInput/) type as the SDK does not currently support bar code scanning.
 *
 * @since 4.19
 * @see [FieldElement](https://developers.arcgis.com/javascript/latest/references/core/form/elements/FieldElement/)
 * @see [TextBoxInput](https://developers.arcgis.com/javascript/latest/references/core/form/elements/inputs/TextBoxInput/)
 */
export default class BarcodeScannerInput extends TextInput {
  constructor(properties?: BarcodeScannerInputProperties);
  /** The type of form element input. */
  get type(): "barcode-scanner";
}