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/api-reference/esri-form-elements-inputs-TextBoxInput.html) type as the SDK does not currently support bar code scanning.
 *
 * @since 4.19
 * @see [FieldElement](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html)
 * @see [TextBoxInput](https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-inputs-TextBoxInput.html)
 */
export default class BarcodeScannerInput extends TextInput {
  constructor(properties?: BarcodeScannerInputProperties);
  /** The type of form element input. */
  get type(): "barcode-scanner";
}