/**
 * Flowtype definitions for barcode
 * Generated by Flowgen from a Typescript Definition
 * Flowgen v1.21.0
 */

import {
  DefaultSerializeable,
  Quadrilateral,
  QuadrilateralJSON,
  ScanIntention as ScanIntention$1,
  SelectionMode as SelectionMode$1,
  CameraSettings as CameraSettings$1,
  Feedback as Feedback$1,
  Color as Color$1,
  CameraPosition,
  Anchor as Anchor$1,
  ScanditIcon,
  ZoomSwitchOrientation,
  LogoStyle as LogoStyle$1,
  PointWithUnit,
  ClusteringMode,
  TorchState,
  LocationSelection as LocationSelection$1,
  NumberWithUnit,
  FrameSourceState,
  BaseProxy,
  BaseController,
  EventPayload,
  ModeBase,
  DataCaptureMode,
  PrivateDataCaptureMode,
  Viewfinder as Viewfinder$1,
  Point,
  Observable,
  TextAlignment,
  FontFamily,
  FrameDataController,
  BaseDataCaptureView,
  DataCaptureComponent,
  NativeCallerProvider,
} from "scandit-react-native-datacapture-core/dist/core";
import type {
  Brush as Brush$1,
  FrameData,
  DataCaptureContext,
  DataCaptureOverlay,
} from "scandit-react-native-datacapture-core/dist/core";

/**
 * An enumeration of barcode types (symbologies) supported by the Scandit Data Capture SDK.
 *
 * The availability of the symbology depends on the licensed features.
 * @since 6.5.0
 */

declare var Symbology: {|
  +EAN13UPCA: "ean13Upca", // "ean13Upca"
  +UPCE: "upce", // "upce"
  +EAN8: "ean8", // "ean8"
  +Code39: "code39", // "code39"
  +Code93: "code93", // "code93"
  +Code128: "code128", // "code128"
  +Code11: "code11", // "code11"
  +Code25: "code25", // "code25"
  +Codabar: "codabar", // "codabar"
  +InterleavedTwoOfFive: "interleavedTwoOfFive", // "interleavedTwoOfFive"
  +MSIPlessey: "msiPlessey", // "msiPlessey"
  +QR: "qr", // "qr"
  +DataMatrix: "dataMatrix", // "dataMatrix"
  +Aztec: "aztec", // "aztec"
  +MaxiCode: "maxicode", // "maxicode"
  +DotCode: "dotcode", // "dotcode"
  +KIX: "kix", // "kix"
  +RoyalMail4state: "royal-mail-4state", // "royal-mail-4state"
  +GS1Databar: "databar", // "databar"
  +GS1DatabarExpanded: "databarExpanded", // "databarExpanded"
  +GS1DatabarLimited: "databarLimited", // "databarLimited"
  +PDF417: "pdf417", // "pdf417"
  +MicroPDF417: "microPdf417", // "microPdf417"
  +MicroQR: "microQr", // "microQr"
  +Code32: "code32", // "code32"
  +Lapa4SC: "lapa4sc", // "lapa4sc"
  +IATATwoOfFive: "iata2of5", // "iata2of5"
  +MatrixTwoOfFive: "matrix2of5", // "matrix2of5"
  +USPSIntelligentMail: "uspsIntelligentMail", // "uspsIntelligentMail"
  +ArUco: "aruco", // "aruco"
  +Upu4State: "upu-4state", // "upu-4state"
  +AustralianPost: "australian-post-4state", // "australian-post-4state"
  +FrenchPost: "french-post", // "french-post"
  +HanXin: "hanXin", // "hanXin"
|};

/**
 * @since 6.5.0
 */
declare class Range mixins DefaultSerializeable {
  /**
   * Minimum of the range.
   * @since 6.5.0
   */
  minimum: number;

  /**
   * Maximum of the range.
   * @since 6.5.0
   */
  maximum: number;

  /**
   * Step of the range.
   * @since 6.5.0
   */
  step: number;

  /**
   * If the range is fixed.
   * @since 6.5.0
   */
  isFixed: boolean;
}
declare interface RangeJSON {
  minimum: number;
  maximum: number;
  step: number;
}
declare interface PrivateRange {
  _minimum: number;
  _maximum: number;
  _step: number;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class SymbologyDescription {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  static all: SymbologyDescription[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  identifier: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  symbology: $Values<typeof Symbology>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  readableName: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  isAvailable: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  isColorInvertible: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  activeSymbolCountRange: Range;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  defaultSymbolCountRange: Range;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  supportedExtensions: string[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  static forIdentifier(identifier: string): SymbologyDescription | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  constructor(symbology: $Values<typeof Symbology>): this;
  constructor(): this;
}
declare interface SymbologyDescriptionJSON {
  identifier: string;
  readableName: string;
  isAvailable: boolean;
  isColorInvertible: boolean;
  activeSymbolCountRange: RangeJSON;
  defaultSymbolCountRange: RangeJSON;
  supportedExtensions: string[];
}
declare interface PrivateSymbologyDescription {
  defaults: () => {
    SymbologyDescriptions: SymbologyDescription[],
    ...
  };
  fromJSON(json: SymbologyDescriptionJSON): SymbologyDescription;
}
/**
 * An enumeration of composite code presets.
 * @since 6.6.0
 */

declare var CompositeType: {|
  +A: "A", // "A"
  +B: "B", // "B"
  +C: "C", // "C"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */

declare var Checksum: {|
  +Mod10: "mod10", // "mod10"
  +Mod11: "mod11", // "mod11"
  +Mod16: "mod16", // "mod16"
  +Mod43: "mod43", // "mod43"
  +Mod47: "mod47", // "mod47"
  +Mod103: "mod103", // "mod103"
  +Mod10AndMod11: "mod1110", // "mod1110"
  +Mod10AndMod10: "mod1010", // "mod1010"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class SymbologySettings$1 mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  isEnabled: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  isColorInvertedEnabled: boolean;

  /**
   * Sets of optional checksums to be used for this symbology. The code is accepted if any of the checksums matches in addition to any mandatory checksum of the symbology.
   * @since 6.5.0
   */
  checksums: $Values<typeof Checksum>[];

  /**
   * This property determines the active symbol counts of the symbology, e.g. the supported length of barcodes to be decoded. Change this property to include symbol counts that are not enabled by default, or to optimize decoding performance for a certain number of symbols.
   *
   * The mapping from characters to symbols is symbology-specific. For some symbologies, the start and end characters are included, others include checksums characters in the symbol counts.
   *
   * The active symbol count setting is ignored for fixed-size barcodes (the EAN and UPC family of codes) as well as 2d codes. For other symbologies, refer to [Symbology Properties](https://docs.scandit.com/symbology-properties).
   *
   * When changing the active symbol count, the provided active symbol count values are intersected with the supported active symbol count values of the symbology. Values that are not part of the supported symbol count range are ignored.
   * @since 6.5.0
   */
  activeSymbolCounts: number[];

  /**
   * The symbology that this symbology settings affect.
   * @since 6.5.0
   */
  symbology: $Values<typeof Symbology>;

  /**
   * The set of enabled extensions of this symbology. Extensions allow to configure features that are specific to a small number of symbologies. For example, there is an extension to configure how to treat the leading zero for UPC-A codes. For a list of supported extensions, refer to [Symbology Properties](https://docs.scandit.com/symbology-properties).
   * @since 6.5.0
   */
  enabledExtensions: string[];

  /**
   * Activates/Deactivates a custom extension for the symbology.
   * @since 6.5.0
   */
  setExtensionEnabled(extension: string, enabled: boolean): void;
}
declare interface SymbologySettingsJSON {
  enabled: boolean;
  colorInvertedEnabled: boolean;
  activeSymbolCounts: number[];
  checksums: string[];
  extensions: string[];
}
declare interface PrivateSymbologySettings {
  fromJSON: (
    identifier: string,
    json: SymbologySettingsJSON
  ) => SymbologySettings$1;
  _symbology: $Values<typeof Symbology>;
}
/**
 * Defines the encoding of a range of bytes.
 * @since 6.5.0
 */
declare class EncodingRange {
  /**
   * Charset encoding name as defined by [IANA](http://www.iana.org/assignments/character-sets/character-sets.xhtml).
   * @since 6.5.0
   */
  ianaName: string;

  /**
   * Start index of this encoding range.
   * @since 6.5.0
   */
  startIndex: number;

  /**
   * End index (first index after the last) of this encoding range.
   * @since 6.5.0
   */
  endIndex: number;
}
declare interface EncodingRangeJSON {
  ianaName: string;
  startIndex: number;
  endIndex: number;
}
declare interface PrivateEncodingRange {
  fromJSON(json: any): EncodingRange;
}
/**
 * Indicates whether the code is part of a composite code.
 * @since 6.5.0
 */

declare var CompositeFlag: {|
  +None: "none", // "none"
  +Unknown: "unknown", // "unknown"
  +Linked: "linked", // "linked"
  +GS1TypeA: "gs1TypeA", // "gs1TypeA"
  +GS1TypeB: "gs1TypeB", // "gs1TypeB"
  +GS1TypeC: "gs1TypeC", // "gs1TypeC"
|};

/**
 * Structured append data associated with a barcode. returns the structured append data associated with this barcode. In structured append mode data is encoded across multiple 1D or 2D barcodes where each barcode contains only one segment of the complete data. Once all segment-containing barcodes are scanned the complete data can be read out.
 *
 * Only a few symbologies (pdf417, microPdf417, QR, DataMatrix, Aztec, DotCode, MaxiCode) can use this mode, and each has a different set of limitations, like included metadata or the maximum number of barcodes that can form a set.
 * @since 6.15.0
 */
declare class StructuredAppendData {
  /**
   * Whether all the barcodes in this set have been scanned.
   * @since 6.15.0
   */
  isComplete: boolean;

  /**
   * The id of the barcode set.
   * @since 6.15.0
   */
  barcodeSetId: string;

  /**
   * How many barcodes in the set have been scanned.
   * @since 6.15.0
   */
  scannedSegmentCount: number;

  /**
   * How many barcodes belong to the set. Depending on the symbology this might not be available and reported as 0.
   * @since 6.15.0
   */
  totalSegmentCount: number;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.15.0
   */
  encodingRanges: EncodingRange[];

  /**
   * String representation of the complete data. The complete data is only available when all of the barcodes/segments belonging to the set have been scanned.
   * @since 6.15.0
   */
  completeData: string | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.15.0
   */
  rawCompleteData: string;
}
declare interface PrivateStructuredAppendData {
  fromJSON(json: StructuredAppendDataJSON | null): StructuredAppendData;
}
declare interface StructuredAppendDataJSON {
  barcodeSetId: string;
  scannedSegmentCount: number;
  totalSegmentCount: number;
  complete: boolean;
  completeDataEncodings: EncodingRangeJSON[];
  completeDataRaw: string;
  completeDataUtf8String: string | null;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.3.0
 */
declare class BarcodeInfo mixins DefaultSerializeable {
  /**
   * The symbology of the barcode.
   * @since 8.3.0
   */
  symbology: $Values<typeof Symbology>;

  /**
   * The data of a barcode as a unicode string.
   * @since 8.3.0
   */
  data: string;

  /**
   * [object Object],[object Object]
   * @since 8.3.0
   */
  location: Quadrilateral;

  /**
   * @since 8.3.0
   */
  static create(
    symbology: $Values<typeof Symbology>,
    data: string,
    location?: Quadrilateral
  ): BarcodeInfo;
  constructor(): this;
  static fromJSON(json: BarcodeInfoJSON): BarcodeInfo;
}
declare interface BarcodeInfoJSON {
  symbology: string;
  data: string;
  location: QuadrilateralJSON;
}
/**
 * A recognized barcode.
 * @since 6.5.0
 */
declare class Barcode mixins DefaultSerializeable {
  /**
   * The symbology of the barcode.
   * @since 6.5.0
   */
  symbology: $Values<typeof Symbology>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  data: string | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  rawData: string;

  /**
   * @since 6.6.0
   */
  compositeData: string | null;

  /**
   * The raw data is base64 encoded as a string and might need to be decoded to be used.
   * @since 6.6.0
   */
  compositeRawData: string;

  /**
   * If present, this property returns the add-on code (also known as extension code) associated with this barcode. See [Add-on Codes](https://docs.scandit.com/extension-codes) to understand how add-ons can be enabled.
   * @since 6.5.0
   */
  addOnData: string | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  encodingRanges: EncodingRange[];

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  location: Quadrilateral;

  /**
   * *True* for codes that carry GS1 data.
   * @since 6.5.0
   */
  isGS1DataCarrier: boolean;

  /**
   * Flag to hint whether the barcode is part of a composite code.
   * @since 6.5.0
   */
  compositeFlag: $Values<typeof CompositeFlag>;

  /**
   * Whether the recognized code is color inverted (printed bright on dark background).
   * @since 6.5.0
   */
  isColorInverted: boolean;

  /**
   * The symbol count of this barcode. Use this value to determine the symbol count of a particular barcode, e.g. to configure the active symbol counts.
   * @since 6.5.0
   */
  symbolCount: number;

  /**
   * Id of the frame from which this barcode information was obtained.
   * @since 6.5.0
   */
  frameID: number;

  /**
   * The number of modules in the X direction (horizontal) of the barcode.
   * @since 8.3.0
   */
  moduleCountX: number;

  /**
   * The number of modules in the Y direction (vertical) of the barcode.
   * @since 8.3.0
   */
  moduleCountY: number;

  /**
   * Whether the barcode is a structured append barcode.
   * @since 6.15.0
   */
  isStructuredAppend: boolean;

  /**
   * If present, this property returns the structured append data associated with this barcode. In structured append mode data is encoded across multiple 1D or 2D barcodes where each barcode contains only one segment of the complete data. Once all segment-containing barcodes are scanned the complete data can be read out.
   *
   * Only a few symbologies (pdf417, microPdf417, QR, DataMatrix, Aztec, DotCode, MaxiCode) can use this mode, and each has a different set of limitations, like included metadata or the maximum number of barcodes that can form a set.
   * @since 6.15.0
   */
  structuredAppendData: StructuredAppendData | null;
  selectionIdentifier: any;
  static fromJSON(json: BarcodeJSON): Barcode;

  /**
   * Constructs a Barcode instance using the specified information.
   * @since 8.3.0
   */
  static create(info: BarcodeInfo): Promise<Barcode>;
}
declare interface BarcodeJSON {
  identifier: string;
  symbology: string;
  data: string | null;
  rawData: string;
  addOnData: string | null;
  compositeData: string | null;
  compositeRawData: string;
  isGS1DataCarrier: boolean;
  compositeFlag: string;
  isColorInverted: boolean;
  symbolCount: number;
  frameId: number;
  moduleCountX: number;
  moduleCountY: number;
  encodingRanges: EncodingRangeJSON[];
  location: QuadrilateralJSON;
  structuredAppendData: StructuredAppendDataJSON | null;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.15.0
 */
declare class Ean13UpcaClassification {
  /**
   * Returns true if barcode is UPC-A.
   * @since 6.15.0
   */
  static isUpca(barcode: Barcode): boolean;

  /**
   * Returns true if barcode is EAN 13.
   * @since 6.15.0
   */
  static isEan13(barcode: Barcode): boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.7.0
 */
declare class CompositeTypeDescription {
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  static all: CompositeTypeDescription[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  types: $Values<typeof CompositeType>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  symbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  static create(
    types: $Values<typeof CompositeType>[]
  ): CompositeTypeDescription;
  constructor(): this;
}
declare interface CompositeTypeDescriptionJSON {
  types: $Values<typeof CompositeType>[];
  symbologies: $Values<typeof Symbology>[];
}
declare interface PrivateCompositeTypeDescription {
  defaults: () => {
    CompositeTypeDescriptions: CompositeTypeDescription[],
    ...
  };
  fromJSON(json: CompositeTypeDescriptionJSON): CompositeTypeDescription;
}
/**
 * [object Object],[object Object]
 * @since 6.19.0
 */

declare var ArucoDictionaryPreset: {|
  +ArucoDictionaryPreset_5X5_50: "5X5_50", // "5X5_50"
  +ArucoDictionaryPreset_5X5_100: "5X5_100", // "5X5_100"
  +ArucoDictionaryPreset_5X5_250: "5X5_250", // "5X5_250"
  +ArucoDictionaryPreset_5X5_1000: "5X5_1000", // "5X5_1000"
  +ArucoDictionaryPreset_5X5_1023: "5X5_1023", // "5X5_1023"
  +ArucoDictionaryPreset_4X4_250: "4X4_250", // "4X4_250"
  +ArucoDictionaryPreset_6X6_250: "6X6_250", // "6X6_250"
|};

/**
 * @since 6.19.0
 */
declare class ArucoMarker$1 mixins DefaultSerializeable {
  /**
   * The size of the ArucoMarker.
   * @since 6.19.0
   */
  size: number;

  /**
   * The data of the ArucoMarker.
   * @since 6.19.0
   */
  data: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  static create(markerSize: number, markerData: string): ArucoMarker$1;
}
/**
 * @since 6.19.0
 */
declare class ArucoDictionary$1 {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  static fromPreset(
    preset: $Values<typeof ArucoDictionaryPreset>
  ): ArucoDictionary$1;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  static createWithMarkers(
    markerSize: number,
    markers: ArucoMarker$1[]
  ): ArucoDictionary$1;
}
declare interface BarcodeDefaults {
  SymbologySettings: {
    [key: string]: SymbologySettings$1,
  };
  SymbologyDescriptions: SymbologyDescription[];
  CompositeTypeDescriptions: CompositeTypeDescription[];
}
declare function getBarcodeDefaults(): BarcodeDefaults;

/**
 * Helper function to get symbology settings from BarcodeDefaults with proper error handling.
 * This centralizes the common pattern used across various Settings classes.
 * @param symbology - The symbology to get settings for (Symbology enum or string identifier)
 * @param errorPrefix - Prefix for error messages (e.g., "Barcode", "Barcode batch", "Barcode selection")
 * @returns SymbologySettings instance with _symbology property set (if symbology is an enum)
 * @throws Error if defaults are missing or symbology settings are not found
 */
declare function getSymbologySettingsFromDefaults(
  symbology: $Values<typeof Symbology>,
  errorPrefix: string
): SymbologySettings$1;

/**
 * A feature that can help you extend the battery life of your phone when you are running low on power. It reduces some of the functions and features that consume more energy.
 * @since 6.21.0
 */

declare var BatterySavingMode$1: {|
  +On: "on", // "on"
  +Off: "off", // "off"
  +Auto: "auto", // "auto"
|};
declare interface BarcodeCaptureDefaults {
  BarcodeCaptureOverlay: {
    DefaultBrush: Brush$1,
    ...
  };
  BarcodeCaptureSettings: {
    codeDuplicateFilter: number,
    batterySaving: $Values<typeof BatterySavingMode$1>,
    scanIntention: $Values<typeof ScanIntention$1>,
    selectionMode: $Values<typeof SelectionMode$1>,
    ...
  };
  RecommendedCameraSettings: CameraSettings$1;
}
declare function getBarcodeCaptureDefaults(): BarcodeCaptureDefaults;

/**
 * The conditions that trigger an annotation to be displayed.
 * @since 7.1.0
 */

declare var BarcodeArAnnotationTrigger: {|
  +HighlightTap: "highlightTap", // "highlightTap"
  +HighlightTapAndBarcodeScan: "highlightTapAndBarcodeScan", // "highlightTapAndBarcodeScan"
  +BarcodeScan: "barcodeScan", // "barcodeScan"
|};

/**
 * The available anchor options for an info annotation.
 * @since 7.1.0
 */

declare var BarcodeArInfoAnnotationAnchor: {|
  +Top: "top", // "top"
  +Bottom: "bottom", // "bottom"
  +Left: "left", // "left"
  +Right: "right", // "right"
|};

/**
 * The available width options for an info annotation.
 * @since 7.1.0
 */

declare var BarcodeArInfoAnnotationWidthPreset: {|
  +Small: "small", // "small"
  +Medium: "medium", // "medium"
  +Large: "large", // "large"
|};

/**
 * The circle highlight presets.
 * @since 7.1.0
 */

declare var BarcodeArCircleHighlightPreset: {|
  +Dot: "dot", // "dot"
  +Icon: "icon", // "icon"
|};

/**
 * The available anchor options for a status icon annotation.
 * @since 8.6.0
 */

declare var BarcodeArStatusIconAnnotationAnchor: {|
  +Top: "top", // "top"
  +Bottom: "bottom", // "bottom"
  +Left: "left", // "left"
  +Right: "right", // "right"
|};

/**
 * The available anchor options for a popover annotation.
 * @since 8.6.0
 */

declare var BarcodeArPopoverAnnotationAnchor: {|
  +Left: "left", // "left"
  +Right: "right", // "right"
  +Bottom: "bottom", // "bottom"
  +Top: "top", // "top"
|};
declare interface BarcodeArCircleHighlightDefaults {
  brush: Brush$1;
  size: number;
}
declare interface BarcodeArViewDefaults {
  circleHighlightPresets: $ObjMapi<
    { [k: $Values<typeof BarcodeArCircleHighlightPreset>]: any },
    <key>(key) => BarcodeArCircleHighlightDefaults
  >;
  defaultBarcodeArPopoverAnnotationButtonEnabled: boolean;
  defaultBarcodeArPopoverAnnotationButtonTextColor: Color$1;
  defaultBarcodeArPopoverAnnotationButtonTextSize: number;
  defaultCameraPosition: $Values<typeof CameraPosition>;
  defaultCameraSwitchControlPosition: $Values<typeof Anchor$1>;
  defaultHighlightIcon: ScanditIcon | null;
  defaultHapticsEnabled: boolean;
  defaultInfoAnnotationAnchor: $Values<typeof BarcodeArInfoAnnotationAnchor>;
  defaultInfoAnnotationBackgroundColor: Color$1;
  defaultInfoAnnotationBodyElementLeftIcon: ScanditIcon | null;
  defaultInfoAnnotationBodyElementLeftIconTappable: boolean;
  defaultInfoAnnotationBodyElementRightIcon: ScanditIcon | null;
  defaultInfoAnnotationBodyElementRightIconTappable: boolean;
  defaultInfoAnnotationBodyElementStyledText: string | null;
  defaultInfoAnnotationBodyElementText: string | null;
  defaultInfoAnnotationBodyElementTextColor: Color$1;
  defaultInfoAnnotationBodyElementTextSize: number;
  defaultInfoAnnotationEntireAnnotationTappable: boolean;
  defaultInfoAnnotationFooterBackgroundColor: Color$1;
  defaultInfoAnnotationFooterIcon: ScanditIcon | null;
  defaultInfoAnnotationFooterText: string | null;
  defaultInfoAnnotationFooterTextColor: Color$1;
  defaultInfoAnnotationFooterTextSize: number;
  defaultInfoAnnotationHasTip: boolean;
  defaultInfoAnnotationHeaderBackgroundColor: Color$1;
  defaultInfoAnnotationHeaderIcon: ScanditIcon | null;
  defaultInfoAnnotationHeaderText: string | null;
  defaultInfoAnnotationHeaderTextColor: Color$1;
  defaultInfoAnnotationHeaderTextSize: number;
  defaultInfoAnnotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>;
  defaultInfoAnnotationWidth: $Values<
    typeof BarcodeArInfoAnnotationWidthPreset
  >;
  defaultResponsiveAnnotationThreshold: number;
  defaultResponsiveAnnotationTrigger: $Values<
    typeof BarcodeArAnnotationTrigger
  >;
  defaultIsEntirePopoverTappable: boolean;
  defaultPopoverAnnotationAnchor: $Values<
    typeof BarcodeArPopoverAnnotationAnchor
  >;
  defaultPopoverAnnotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>;
  defaultRectangleHighlightBrush: Brush$1;
  defaultShouldShowCameraSwitchControl: boolean;
  defaultShouldShowTorchControl: boolean;
  defaultShouldShowZoomControl: boolean;
  defaultSoundEnabled: boolean;
  defaultStatusIconAnnotationBackgroundColor: Color$1;
  defaultStatusIconAnnotationHasTip: boolean;
  defaultStatusIconAnnotationIcon: ScanditIcon;
  defaultStatusIconAnnotationText: string | null;
  defaultStatusIconAnnotationTextColor: Color$1;
  defaultStatusIconAnnotationTrigger: $Values<
    typeof BarcodeArAnnotationTrigger
  >;
  defaultStatusIconAnnotationAnchor: $Values<
    typeof BarcodeArStatusIconAnnotationAnchor
  >;
  defaultZoomControlOrientation: $Values<typeof ZoomSwitchOrientation>;
  defaultLogoStyle: $Values<typeof LogoStyle$1>;
  defaultLogoAnchor: $Values<typeof Anchor$1>;
  defaultLogoOffset: PointWithUnit;
  defaultTorchControlPosition: $Values<typeof Anchor$1>;
  defaultZoomControlPosition: $Values<typeof Anchor$1>;
}
declare interface BarcodeArDefaults {
  RecommendedCameraSettings: CameraSettings$1;
  Feedback: {
    scanned: Feedback$1,
    tapped: Feedback$1,
    ...
  };
  BarcodeArView: BarcodeArViewDefaults;
  BarcodeArSettings: {
    expectOnlyUniqueBarcodes: boolean,
    ...
  };
}
declare function getBarcodeArDefaults(): BarcodeArDefaults;
declare interface BarcodeSelectionDefaults {
  RecommendedCameraSettings: CameraSettings$1;
  Feedback: {
    selection: Feedback$1,
    ...
  };
  BarcodeSelectionSettings: {
    codeDuplicateFilter: number,
    singleBarcodeAutoDetection: boolean,
    tapGestureForSelectionEnabled: boolean,
    selectionType: <T>(fromJSON: (json: mixed) => T) => T,
    ...
  };
  BarcodeSelectionTapSelection: {
    defaultFreezeBehavior: "manual" | "manualAndAutomatic",
    defaultTapBehavior: "toggleSelection" | "repeatSelection",
    ...
  };
  BarcodeSelectionAimerSelection: {
    defaultSelectionStrategy: <T>(fromJSON: (json: mixed) => T) => T,
    defaultAimerBehavior: "toggleSelection" | "repeatSelection",
    ...
  };
  BarcodeSelectionBasicOverlay: {
    defaultStyle: "frame" | "dot",
    frozenBackgroundColor: Color$1,
    styles: any,
    ...
  };
}
declare function getBarcodeSelectionDefaults(): BarcodeSelectionDefaults;

/**
 * [object Object],[object Object]
 * @since 6.17.0
 */

declare var BarcodeCountViewStyle: {|
  +Icon: "icon", // "icon"
  +Dot: "dot", // "dot"
|};

/**
 * These settings are used to select barcodes that will be filtered out in the view. Any barcode that matches any of the provided settings will be covered by a colored layer.
 * @since 6.17.0
 */
declare class BarcodeFilterSettings mixins DefaultSerializeable {
  /**
   * When set to *true*, EAN 13 barcodes will be excluded.
   * @since 6.17.0
   */
  excludeEan13: boolean;
  -excludeEan13: any;

  /**
   * When set to *true*, UPC-A barcodes will be excluded.
   * @since 6.17.0
   */
  excludeUpca: boolean;
  -excludeUpca: any;

  /**
   * A regular expression to be matched against `Data`.
   * @since 6.17.0
   */
  excludedCodesRegex: string;
  -excludedCodesRegex: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  excludedSymbologies: $Values<typeof Symbology>[];
  -excludedSymbologies: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  excludedSymbolCounts: $Rest<
    { [key: $Values<typeof Symbology>]: number[], ... },
    { ... }
  >;

  /**
   * @since 8.3.0
   */
  constructor(): this;

  /**
   * @since 6.17.0
   */
  getExcludedSymbolCountsForSymbology(
    symbology: $Values<typeof Symbology>
  ): number[];

  /**
   * @since 6.17.0
   */
  setExcludedSymbolCounts(
    excludedSymbolCounts: number[],
    symbology: $Values<typeof Symbology>
  ): void;
}
declare interface BarcodeFilterSettingsJSON {
  excludeEan13: boolean;
  excludeUpca: boolean;
  excludedCodesRegex: string;
  excludedSymbolCounts: $Rest<
    { [key: $Values<typeof Symbology>]: number[], ... },
    { ... }
  >;
  excludedSymbologies: $Values<typeof Symbology>[];
}
declare interface PrivateBarcodeFilterSettings {
  fromJSON(json: BarcodeFilterSettingsJSON): BarcodeFilterSettings;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.7.0
 */
declare class BarcodeCountIcon mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  constructor(
    defaultIcon: ScanditIcon | null,
    accessibleIcon: ScanditIcon | null
  ): this;

  /**
   * The icon used when the overlay is in the default color scheme. If *null*, no highlight is drawn in the default color scheme.
   * @since 8.7.0
   */
  defaultIcon: ScanditIcon | null;

  /**
   * The icon used when the overlay is in the accessible color scheme. If *null*, no highlight is drawn in the accessible color scheme.
   * @since 8.7.0
   */
  accessibleIcon: ScanditIcon | null;
}
/**
 * @since 6.17.0
 */
declare interface BarcodeCountToolbarSettings$1 {
  /**
   * If populated sets the text of the audio setting button when in “on” state. Otherwise a default “Audio on” value will be used.
   * @since 6.17.0
   */
  audioOnButtonText: string;

  /**
   * If populated sets the text of the audio setting button when in “off” state. Otherwise a default “Audio off” value will be used.
   * @since 6.17.0
   */
  audioOffButtonText: string;

  /**
   * If populated sets the content description of the audio setting button. Otherwise a default “Audio” value will be used.
   *
   * This property is applied only when running on Android.
   * @since 6.17.0
   */
  audioButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the audio setting button. Otherwise a default “Audio” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  audioButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the audio setting button. Otherwise a default “Audio” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  audioButtonAccessibilityLabel: string | null;

  /**
   * If populated sets the text of the vibration setting button when in “on” state. Otherwise a default “Haptic on” value will be used.
   * @since 6.17.0
   */
  vibrationOnButtonText: string;

  /**
   * If populated sets the text of the vibration setting button when in “off” state. Otherwise a default “Haptic off” value will be used.
   * @since 6.17.0
   */
  vibrationOffButtonText: string;

  /**
   * If populated sets the content description of the vibration setting button. Otherwise a default “Vibration” value will be used.
   *
   * This property is applied only when running on Android.
   * @since 6.17.0
   */
  vibrationButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the vibration setting button. Otherwise a default “Vibration” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  vibrationButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the vibration setting button. Otherwise a default “Vibration” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  vibrationButtonAccessibilityLabel: string | null;

  /**
   * If populated sets the text of the strap mode setting button when in “on” state. Otherwise a default “Strap mode” value will be used.
   * @since 6.17.0
   */
  strapModeOnButtonText: string;

  /**
   * If populated sets the text of the strap mode setting button when in “off” state. Otherwise a default “Strap mode” value will be used.
   * @since 6.17.0
   */
  strapModeOffButtonText: string;

  /**
   * If populated sets the content description of the strap mode setting button. Otherwise a default “Strap mode” value will be used.
   *
   * This property is applied only when running on Android.
   * @since 6.17.0
   */
  strapModeButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the strap mode setting button. Otherwise a default “Strap mode” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  strapModeButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the strap mode setting button. Otherwise a default “Strap mode” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  strapModeButtonAccessibilityLabel: string | null;

  /**
   * If populated sets the text of the color scheme setting button when in “on” state. Otherwise a default “Color scheme” value will be used.
   * @since 6.17.0
   */
  colorSchemeOnButtonText: string;

  /**
   * If populated sets the text of the color scheme setting button when in “off” state. Otherwise a default “Color scheme” value will be used.
   * @since 6.17.0
   */
  colorSchemeOffButtonText: string;

  /**
   * If populated sets the content description of the color scheme setting button. Otherwise a default “Color scheme” value will be used.
   * @since 6.17.0
   */
  colorSchemeButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the color scheme setting button. Otherwise a default “Color scheme” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  colorSchemeButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the color scheme setting button. Otherwise a default “Color scheme” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  colorSchemeButtonAccessibilityLabel: string | null;
}
/**
 * Settings used with the BarcodeCount mapping flow.
 * @since 8.3.0
 */
declare interface BarcodeCountMappingFlowSettings$1 {
  /**
   * Text displayed for the initial guidance during the mapping flow. Defaults to “Tap shutter to scan all codes in batches”.
   * @since 8.3.0
   */
  scanBarcodesGuidanceText: string;

  /**
   * Text displayed on the “Next” button. Defaults to “Next”.
   * @since 8.3.0
   */
  nextButtonText: string;

  /**
   * Text displayed during the mapping flow on the last screen. Defaults to “Step back to fit all codes into camera view”.
   * @since 8.3.0
   */
  stepBackGuidanceText: string;

  /**
   * Text displayed on the “Redo map” button. Defaults to “Redo map”.
   * @since 8.3.0
   */
  redoScanButtonText: string;

  /**
   * Text displayed on the “Restart” button. Defaults to “Restart”.
   * @since 8.3.0
   */
  restartButtonText: string;

  /**
   * Text displayed on the “Finish” button. Defaults to “Finish”.
   * @since 8.3.0
   */
  finishButtonText: string;
}
declare interface BarcodeCountViewSettingsDefaults {
  style: $Values<typeof BarcodeCountViewStyle>;
  shouldShowUserGuidanceView: boolean;
  shouldShowListButton: boolean;
  shouldShowExitButton: boolean;
  shouldShowShutterButton: boolean;
  shouldShowHints: boolean;
  shouldShowClearHighlightsButton: boolean;
  shouldShowSingleScanButton: boolean;
  shouldShowFloatingShutterButton: boolean;
  shouldShowToolbar: boolean;
  shouldShowStatusModeButton: boolean;
  shouldShowStatusIconsOnScan: boolean;
  shouldDisableModeOnExitButtonTapped: boolean;
  defaultNotInListBrush: Brush$1;
  defaultRecognizedBrush: Brush$1;
  defaultAcceptedBrush: Brush$1;
  defaultRejectedBrush: Brush$1;
  defaultRecognizedIcon: BarcodeCountIcon;
  defaultNotInListIcon: BarcodeCountIcon;
  defaultAcceptedIcon: BarcodeCountIcon;
  defaultRejectedIcon: BarcodeCountIcon;
  logoStyle: $Values<typeof LogoStyle$1>;
  logoAnchor: $Values<typeof Anchor$1>;
  shouldShowScanAreaGuides: boolean;
  clearHighlightsButtonText: string;
  exitButtonText: string;
  textForTapShutterToScanHint: string;
  textForScanningHint: string;
  textForMoveCloserAndRescanHint: string;
  textForMoveFurtherAndRescanHint: string;
  textForBarcodesNotInListDetectedHint: string;
  textForScreenCleanedUpHint: string;
  textForClusteringGestureHint: string;
  shouldShowListProgressBar: boolean;
  toolbarSettings: BarcodeCountToolbarSettings$1;
  mappingFlowSettings: BarcodeCountMappingFlowSettings$1;
  listButtonAccessibilityHint: string;
  listButtonAccessibilityLabel: string;
  listButtonContentDescription: string;
  exitButtonAccessibilityHint: string;
  exitButtonAccessibilityLabel: string;
  exitButtonContentDescription: string;
  shutterButtonAccessibilityHint: string;
  shutterButtonAccessibilityLabel: string;
  shutterButtonContentDescription: string;
  floatingShutterButtonAccessibilityHint: string;
  floatingShutterButtonAccessibilityLabel: string;
  floatingShutterButtonContentDescription: string;
  clearHighlightsButtonAccessibilityHint: string;
  clearHighlightsButtonAccessibilityLabel: string;
  clearHighlightsButtonContentDescription: string;
  singleScanButtonAccessibilityHint: string;
  singleScanButtonAccessibilityLabel: string;
  singleScanButtonContentDescription: string;
  statusModeButtonAccessibilityHint: string;
  statusModeButtonAccessibilityLabel: string;
  statusModeButtonContentDescription: string;
  shouldShowTorchControl: boolean;
  torchControlPosition: $Values<typeof Anchor$1>;
  tapToUncountEnabled: boolean;
  textForTapToUncountHint: string;
  hardwareTriggerSupported: boolean;
}
declare interface BarcodeCountDefaults {
  RecommendedCameraSettings: CameraSettings$1;
  Feedback: {
    success: Feedback$1,
    failure: Feedback$1,
    ...
  };
  BarcodeCountSettings: {
    expectOnlyUniqueBarcodes: boolean,
    barcodeFilterSettings: BarcodeFilterSettings,
    disableModeWhenCaptureListCompleted: boolean,
    clusteringMode: $Values<typeof ClusteringMode>,
    mappingEnabled: boolean,
    scanPreviewEnabled: boolean,
    ...
  };
  BarcodeCountView: BarcodeCountViewSettingsDefaults;
}
declare function getBarcodeCountDefaults(): BarcodeCountDefaults;

/**
 * [object Object],[object Object]
 * @since 7.0.0
 */

declare var BarcodeBatchBasicOverlayStyle: {|
  +Frame: "frame", // "frame"
  +Dot: "dot", // "dot"
|};
declare interface BarcodeBatchDefaults {
  RecommendedCameraSettings: CameraSettings$1;
  BarcodeBatchBasicOverlay: {
    defaultStyle: $Values<typeof BarcodeBatchBasicOverlayStyle>,
    styles: {
      [key: string]: {
        DefaultBrush: {
          fillColor: Color$1,
          strokeColor: Color$1,
          strokeWidth: number,
          ...
        },
        ...
      },
    },
    ...
  };
}
declare function getBarcodeBatchDefaults(): BarcodeBatchDefaults;

/**
 * [object Object],[object Object],[object Object]
 * @since 6.16.0
 */

declare var SparkScanScanningBehavior: {|
  +Single: "single", // "single"
  +Continuous: "continuous", // "continuous"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 6.23.0
 */

declare var SparkScanPreviewBehavior: {|
  +Persistent: "persistent", // "persistent"
  +Default: "default", // "default"
|};

/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare interface SparkScanScanningMode$1 {
  /**
   * The scanning behavior of this mode.
   * @since 8.7.0
   */
  +scanningBehavior: $Values<typeof SparkScanScanningBehavior>;

  /**
   * The preview behavior of this mode.
   * @since 8.7.0
   */
  +previewBehavior: $Values<typeof SparkScanPreviewBehavior>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.0.0
 */

declare var SparkScanMiniPreviewSize: {|
  +Regular: "regular", // "regular"
  +Expanded: "expanded", // "expanded"
|};
declare interface SparkScanViewSettingsDefaults {
  triggerButtonCollapseTimeout: number;
  defaultScanningMode: SparkScanScanningMode$1;
  defaultTorchState: $Values<typeof TorchState>;
  soundEnabled: boolean;
  hapticEnabled: boolean;
  holdToScanEnabled: boolean;
  hardwareTriggerEnabled: boolean;
  hardwareTriggerKeyCode: number | null;
  visualFeedbackEnabled: boolean;
  toastSettings: SparkScanToastSettingsDefaults;
  zoomFactorOut: number;
  zoomFactorIn: number;
  inactiveStateTimeout: number;
  defaultCameraPosition: $Values<typeof CameraPosition>;
  defaultMiniPreviewSize: $Values<typeof SparkScanMiniPreviewSize>;
  periscopeModeEnabled: boolean;
}
declare interface SparkScanToastSettingsDefaults {
  toastEnabled: boolean;
  toastBackgroundColor: Color$1 | null;
  toastTextColor: Color$1 | null;
  targetModeEnabledMessage: string | null;
  targetModeDisabledMessage: string | null;
  selectionModeOnMessage: string | null;
  selectionModeOffMessage: string | null;
  continuousModeEnabledMessage: string | null;
  continuousModeDisabledMessage: string | null;
  worldFacingCameraEnabledMessage: string | null;
  userFacingCameraEnabledMessage: string | null;
  scanPausedMessage: string | null;
  zoomedInMessage: string | null;
  zoomedOutMessage: string | null;
  torchEnabledMessage: string | null;
  torchDisabledMessage: string | null;
}
declare interface SparkScanDefaults {
  Feedback: {
    success: {
      visualFeedbackColor: Color$1,
      brush: Brush$1,
      feedbackDefault: Feedback$1,
      ...
    },
    error: {
      visualFeedbackColor: Color$1,
      brush: Brush$1,
      feedbackDefault: Feedback$1,
      ...
    },
    ...
  };
  SparkScanSettings: {
    batterySaving: $Values<typeof BatterySavingMode$1>,
    codeDuplicateFilter: number,
    locationSelection: LocationSelection$1,
    scanIntention: $Values<typeof ScanIntention$1>,
    selectionMode: $Values<typeof SelectionMode$1>,
    ...
  };
  SparkScanView: {
    brush: Brush$1,
    scanningBehaviorButtonVisible: boolean,
    barcodeCountButtonVisible: boolean,
    barcodeFindButtonVisible: boolean,
    targetModeButtonVisible: boolean,
    selectionModeButtonVisible: boolean,
    labelCaptureButtonVisible: boolean,
    previewSizeControlVisible: boolean,
    previewCloseControlVisible: boolean,
    triggerButtonAnimationColor: Color$1 | null,
    triggerButtonExpandedColor: Color$1 | null,
    triggerButtonCollapsedColor: Color$1 | null,
    triggerButtonTintColor: Color$1 | null,
    triggerButtonVisible: boolean,
    triggerButtonImage: string | null,
    toolbarBackgroundColor: Color$1 | null,
    toolbarIconActiveTintColor: Color$1 | null,
    toolbarIconInactiveTintColor: Color$1 | null,
    SparkScanViewSettings: SparkScanViewSettingsDefaults,
    cameraSwitchButtonVisible: boolean,
    torchControlVisible: boolean,
    zoomSwitchControlVisible: boolean,
    ...
  };
}
declare function getSparkScanDefaults(): SparkScanDefaults;

/**
 * The possible states of an item.
 * @since 6.19.0
 */

declare var BarcodePickState: {|
  +Ignore: "ignore", // "ignore"
  +Picked: "picked", // "picked"
  +ToPick: "toPick", // "toPick"
  +Unknown: "unknown", // "unknown"
|};
declare class BrushForStateObject mixins DefaultSerializeable {
  barcodePickState: $Values<typeof BarcodePickState>;
  brush: Brush$1;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.19.0
 */
declare interface BarcodePickViewHighlightStyle {}
/**
 * The type of highlight applied to the filtered barcodes.
 * @since 6.17.0
 */

declare var BarcodeFilterHighlightType: {|
  +Brush: "brush", // "brush"
|};

/**
 * @since 6.17.0
 */
declare type BarcodeFilterHighlightSettings = {
  /**
   * Returns the type of highlight that will be applied to filtered barcodes.
   * @since 6.17.0
   */
  +highlightType: $Values<typeof BarcodeFilterHighlightType>,

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  +brush: Brush$1 | null,
  ...
} & DefaultSerializeable;

/**
 * Use this class to customize the status icons in styles that support it.
 * @since 6.28.0
 */
declare interface BarcodePickStatusIconSettings$1 {
  /**
   * The maximum size allowed for status icons.
   *
   * Default is no maximum, INT_MAX.
   * @since 6.28.0
   */
  maxSize: number;

  /**
   * The minimum size allowed for status icons.
   *
   * Default is 20 dp.
   * @since 6.28.0
   */
  minSize: number;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.28.0
   */
  ratioToHighlightSize: number;
}
declare interface BarcodePickDefaults {
  RecommendedCameraSettings: CameraSettings$1;
  BarcodePickSettings: {
    arucoDictionary: ArucoDictionary$1,
    cachingEnabled: boolean,
    hapticsEnabled: boolean,
    soundEnabled: boolean,
    barcodeFilterSettings: BarcodeFilterSettings,
    filterHighlightSettings: BarcodeFilterHighlightSettings | null,
    ...
  };
  ViewSettings: {
    loadingDialogTextForPicking: string,
    loadingDialogTextForUnpicking: string,
    highlightStyle: BarcodePickViewHighlightStyle,
    initialGuidelineText: string,
    moveCloserGuidelineText: string,
    showLoadingDialog: boolean,
    onFirstItemPickCompletedHintText: string,
    onFirstItemToPickFoundHintText: string,
    onFirstItemUnpickCompletedHintText: string,
    onFirstUnmarkedItemPickCompletedHintText: string,
    showGuidelines: boolean,
    showHints: boolean,
    showFinishButton: boolean,
    showPauseButton: boolean,
    showZoomButton: boolean,
    zoomButtonPosition: string,
    showTorchButton: boolean,
    torchButtonPosition: string,
    logoStyle: $Values<typeof LogoStyle$1>,
    logoAnchor: $Values<typeof Anchor$1>,
    tapShutterToPauseGuidelineText: string,
    hardwareTriggerEnabled: boolean,
    uiButtonsOffset: NumberWithUnit | null,
    hardwareTriggerKeyCode: number | null,
    ...
  };
  BarcodePickViewHighlightStyle: {
    Dot: {
      brushesForState: BrushForStateObject[],
      ...
    },
    DotWithIcons: {
      brushesForState: BrushForStateObject[],
      styleResponseCacheEnabled: boolean,
      ...
    },
    Rectangular: {
      brushesForState: BrushForStateObject[],
      minimumHighlightWidth: number,
      minimumHighlightHeight: number,
      ...
    },
    RectangularWithIcons: {
      brushesForState: BrushForStateObject[],
      statusIconSettings: BarcodePickStatusIconSettings$1,
      minimumHighlightWidth: number,
      minimumHighlightHeight: number,
      styleResponseCacheEnabled: boolean,
      ...
    },
    CustomView: {
      fitViewsToBarcode: boolean,
      statusIconSettings: BarcodePickStatusIconSettings$1,
      minimumHighlightWidth: number,
      minimumHighlightHeight: number,
      ...
    },
    ...
  };
  SymbologySettings: {
    [key: string]: SymbologySettings$1,
  };
  BarcodePickStatusIconSettings: BarcodePickStatusIconSettings$1;
}
declare function getBarcodePickDefaults(): BarcodePickDefaults;

/**
 * Helper function to get symbology settings from BarcodePickDefaults with proper error handling.
 * @param symbology - The symbology to get settings for (Symbology enum or string identifier)
 * @param errorPrefix - Prefix for error messages (e.g., "Barcode pick")
 * @returns SymbologySettings instance with _symbology property set (if symbology is an enum)
 * @throws Error if defaults are missing or symbology settings are not found
 */
declare function getSymbologySettingsFromBarcodePickDefaults(
  symbology: $Values<typeof Symbology> | string,
  errorPrefix: string
): SymbologySettings$1;
declare interface BarcodeFindDefaults {
  RecommendedCameraSettings: CameraSettings$1;
  Feedback: {
    found: Feedback$1,
    itemListUpdated: Feedback$1,
    ...
  };
  BarcodeFindView: BarcodeFindViewDefaults;
  BarcodeFindViewSettings: BarcodeFindViewSettingsDefaults;
}
declare interface BarcodeFindViewDefaults {
  hardwareTriggerSupported: boolean;
  shouldShowCarousel: boolean;
  shouldShowFinishButton: boolean;
  shouldShowHints: boolean;
  shouldShowPauseButton: boolean;
  shouldShowProgressBar: boolean;
  shouldShowUserGuidanceView: boolean;
  shouldShowTorchControl: boolean;
  shouldShowZoomControl: boolean;
  textForAllItemsFoundSuccessfullyHint: string | null;
  textForItemListUpdatedHint: string | null;
  textForItemListUpdatedWhenPausedHint: string | null;
  textForCollapseCardsButton: string | null;
  textForMoveCloserToBarcodesHint: string | null;
  textForPointAtBarcodesToSearchHint: string | null;
  textForTapShutterToPauseScreenHint: string | null;
  textForTapShutterToResumeSearchHint: string | null;
  torchControlPosition: $Values<typeof Anchor$1>;
  logoStyle: $Values<typeof LogoStyle$1>;
  logoAnchor: $Values<typeof Anchor$1>;
  cameraStateOnStop: $Values<typeof FrameSourceState>;
}
declare interface BarcodeFindViewSettingsDefaults {
  progressBarStartColor: Color$1;
  progressBarFinishColor: Color$1;
}
declare function getBarcodeFindDefaults(): BarcodeFindDefaults;

declare var BarcodeDefaultsType: {|
  +Barcode: "BarcodeDefaults", // "BarcodeDefaults"
  +BarcodeCapture: "BarcodeCaptureDefaults", // "BarcodeCaptureDefaults"
  +BarcodeCount: "BarcodeCountDefaults", // "BarcodeCountDefaults"
  +BarcodePick: "BarcodePickDefaults", // "BarcodePickDefaults"
  +BarcodeSelection: "BarcodeSelectionDefaults", // "BarcodeSelectionDefaults"
  +BarcodeBatch: "BarcodeBatchDefaults", // "BarcodeBatchDefaults"
  +SparkScan: "SparkScanDefaults", // "SparkScanDefaults"
  +BarcodeFind: "BarcodeFindDefaults", // "BarcodeFindDefaults"
  +BarcodeAr: "BarcodeArDefaults", // "BarcodeArDefaults"
|};
declare function setBarcodeDefaultsLoader(loader: () => void): void;
declare function ensureBarcodeDefaultsFor<T>(
  type: $Values<typeof BarcodeDefaultsType>
): T;
declare function ensureBarcodeDefaults(): BarcodeDefaults;

/**
 * @internal Loads barcode defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeDefaults(jsonDefaults: any): void;

/**
 * @internal Loads barcode capture defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeCaptureDefaults(jsonDefaults: any): void;

/**
 * @internal Loads barcode AR defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeArDefaults(jsonDefaults: any): void;

/**
 * @internal Loads barcode count defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeCountDefaults(jsonDefaults: any): void;

/**
 * @internal Loads barcode pick defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodePickDefaults(jsonDefaults: any): void;

/**
 * @internal Loads barcode selection defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeSelectionDefaults(jsonDefaults: any): void;

/**
 * @internal Loads barcode batch defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeBatchDefaults(jsonDefaults: any): void;

/**
 * @internal Loads SparkScan defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadSparkScanDefaults(jsonDefaults: any): void;

/**
 * @internal Loads BarcodeFind defaults. For internal use and testing only.
 * Use loadAllBarcodeDefaults() instead for production code.
 */
declare function loadBarcodeFindDefaults(jsonDefaults: any): void;

/**
 * Loads all barcode-related defaults from the provided JSON object.
 * This is the main entry point for initializing barcode defaults across all frameworks.
 * @param jsonDefaults - The JSON object containing all barcode defaults from the native layer
 */
declare function loadAllBarcodeDefaults(jsonDefaults: any): void;

/**
 * Builds the static (build-time-knowable) portion of each barcode submodule's nested JSON
 * defaults, out of the flat generated consts.
 *
 * The top-level "Barcode" block (SymbologySettings / SymbologyDescriptions /
 * CompositeTypeDescriptions) is entirely engine-owned/dynamic and is intentionally absent from
 * every one of these — see BarcodeModule.kt#getDynamicDefaults.
 *
 * Per submodule, the excluded (dynamic, native-only) keys mirror BarcodeModule.getDynamicDefaults
 * on Android:
 * - BarcodeCapture: RecommendedCameraSettings
 * - BarcodeBatch: RecommendedCameraSettings
 * - BarcodeSelection: RecommendedCameraSettings
 * - BarcodeCount: RecommendedCameraSettings, BarcodeCountView (whole)
 * - BarcodeFind: RecommendedCameraSettings, BarcodeFindView (whole)
 * - BarcodePick: RecommendedCameraSettings, SymbologySettings, BarcodePickViewHighlightStyle,
 *   ViewSettings (whole)
 * - SparkScan: SparkScanView (whole, RecommendedCameraSettings n/a for this mode)
 * - BarcodeAr: RecommendedCameraSettings, BarcodeArView (whole — scoped out of this pass because
 *   its nested field names diverge substantially from the generated consts; left fully dynamic
 *   rather than risk staticizing it incorrectly)
 */
declare function buildStaticBarcodeCaptureDefaultsJson(
  _platform: "android" | "ios"
): mixed;
declare function buildStaticBarcodeBatchDefaultsJson(
  platform: "android" | "ios"
): mixed;
declare function buildStaticBarcodeSelectionDefaultsJson(
  platform: "android" | "ios"
): mixed;
declare function buildStaticBarcodeCountDefaultsJson(
  platform: "android" | "ios"
): mixed;
declare function buildStaticBarcodeFindDefaultsJson(
  platform: "android" | "ios"
): mixed;
declare function buildStaticBarcodePickDefaultsJson(
  _platform: "android" | "ios"
): mixed;
declare function buildStaticSparkScanDefaultsJson(
  platform: "android" | "ios"
): mixed;
declare function buildStaticBarcodeArDefaultsJson(
  platform: "android" | "ios"
): mixed;
declare var barcodeCapturePlaceholderCameraSettings: mixed;
declare var barcodeBatchPlaceholderCameraSettings: mixed;
declare var barcodeSelectionPlaceholderCameraSettings: mixed;
declare var barcodeCountPlaceholderCameraSettings: mixed;
declare var barcodeFindPlaceholderCameraSettings: mixed;
declare var barcodePickPlaceholderCameraSettings: mixed;
declare var barcodeArPlaceholderCameraSettings: mixed;
declare function placeholderBarcodeCountView(
  platform: "android" | "ios"
): mixed;
declare function placeholderBarcodeFindView(
  _platform: "android" | "ios"
): mixed;
declare function placeholderBarcodePickViewSettings(
  _platform: "android" | "ios"
): mixed;
declare function placeholderBarcodePickViewHighlightStyle(
  _platform: "android" | "ios"
): mixed;

/**
 * A structurally-valid (not production-accurate) stand-in for BarcodeArView, whose field names
 * diverge substantially from BarcodeArViewGeneratedDefaults (see staticDefaults.ts's BarcodeAr
 * doc comment for why it isn't staticized). Used only until the Capacitor wiring's one-off full
 * getDefaults() fetch replaces this module's data wholesale — see Capacitor.ts.
 */
declare function placeholderBarcodeArView(): mixed;
declare function placeholderBarcodeSparkScanView(
  platform: "android" | "ios"
): mixed;

/**
 * Transformer interface for Barcode matching.
 * @since 8.3.0
 */
declare interface BarcodeDataTransformer {
  /**
   * Invoked for each detected barcode. The implementation should return the same barcode data, which may or may not be transformed from the original, or *null* if the barcode should be ignored entirely. Note that this method is executed on a background thread.
   * @since 8.3.0
   */
  transformBarcodeData(data: string | null): string | null;
}
/**
 * Supports two JSON formats:
 * 1. From BarcodeCountSession: `{ barcodeIdentifiers: ["0", "2"], identifier: "0", _barcodeMap: {...} }`
 * 2. From didTapCluster event: `{ barcodes: [<full barcode json>, ...] }`
 */
declare interface ClusterJSON {
  identifier?: string;
  barcodes?: BarcodeJSON[];
  barcodeIdentifiers?: string[];
  _barcodeMap?: Map<string, Barcode>;
}
/**
 * A recognized cluster.
 * @since 8.3.0
 */
declare class Cluster {
  /**
   * The array of barcodes that form the cluster.
   * @since 8.3.0
   */
  barcodes: Barcode[];
  constructor(): this;
}
/**
 * An enumeration of the presets available to simplify configuring symbologies.
 * @since 8.3.0
 */

declare var CapturePreset: {|
  +Transport: "transport", // "transport"
  +Logistics: "logistics", // "logistics"
  +Retail: "retail", // "retail"
  +Healthcare: "healthcare", // "healthcare"
  +Manufacturing: "manufacturing", // "manufacturing"
|};

/**
 * A barcode that was only localized but not recognized yet. This means there is no data or symbology associated with it.
 * @since 6.5.0
 */
declare class LocalizedOnlyBarcode {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  location: Quadrilateral;

  /**
   * Id of the frame from which this barcode information was obtained.
   * @since 6.5.0
   */
  frameID: number;
}
declare interface LocalizedOnlyBarcodeJSON {
  location: QuadrilateralJSON;
  frameId: number;
}
declare interface PrivateLocalizedOnlyBarcode {
  fromJSON(json: LocalizedOnlyBarcodeJSON): LocalizedOnlyBarcode;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.17.0
 */
declare class TargetBarcode mixins DefaultSerializeable {
  /**
   * The data of the target barcode, as a sequence of characters.
   * @since 6.17.0
   */
  data: string;

  /**
   * The number of times that the target barcode is expected to be scanned.
   * @since 6.17.0
   */
  quantity: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  static create(data: string, quantity: number): TargetBarcode;
  constructor(): this;
}
declare interface TargetBarcodeJSON {
  data: string;
  quantity: number;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class TrackedBarcode {
  /**
   * The barcode associated to this track.
   * @since 6.5.0
   */
  barcode: Barcode;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  location: Quadrilateral;

  /**
   * The unique identifier for the tracked barcode. The identifier is unique for each barcode. The same identifier may be reused once the barcode is lost for another barcode.
   * @since 6.5.0
   */
  identifier: number;
  sessionFrameSequenceID: any;
}
declare interface TrackedBarcodeJSON {
  identifier: number;
  barcode: BarcodeJSON;
  location: QuadrilateralJSON;
}
/**
 * A barcode or a cluster tracked over the course of multiple frames.
 * @since 8.2.0
 */
declare class TrackedObject {
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  location: Quadrilateral;

  /**
   * The unique identifier for the tracked object. The identifier is unique for each object. The same identifier may be reused once the object is lost for another object.
   * @since 8.2.0
   */
  identifier: number;

  /**
   * The data associated with this object.
   * @since 8.2.0
   */
  data: string | null;
  constructor(): this;
  toJSON(): string;
}
declare interface TrackedObjectJSON {
  identifier: number | string;
  location: QuadrilateralJSON;
  data?: string | null;
}
declare interface BarcodeSpatialGridElementJSON {
  mainBarcode: BarcodeJSON;
  subBarcode: BarcodeJSON | null;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.19.0
 */
declare class BarcodeSpatialGrid mixins DefaultSerializeable {
  /**
   * Returns the number of rows in the grid.
   * @since 6.19.0
   */
  rows: number;

  /**
   * Returns the number of columns in the grid.
   * @since 6.19.0
   */
  columns: number;

  /**
   * Returns the barcode at the specified coordinates. If there is no barcode *null* is returned.
   * @since 6.19.0
   */
  barcodeAt(row: number, column: number): Barcode | null;

  /**
   * Returns an array of Barcodes corresponding to the selected row.
   * @since 6.19.0
   */
  row(index: number): Barcode[];

  /**
   * Returns an array of barcodes corresponding to the selected column.
   * @since 6.19.0
   */
  column(index: number): Barcode[];
}
declare interface BarcodeSpatialGridJSON {
  rows: number;
  columns: number;
  grid: BarcodeSpatialGridElementJSON[][];
}
/**
 * @since 6.17.0
 */
declare class BarcodeFilterHighlightSettingsBrush
  mixins DefaultSerializeable
  implements BarcodeFilterHighlightSettings
{
  /**
   * @since 8.3.0
   */
  constructor(brush?: Brush$1): this;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  static create(brush: Brush$1): BarcodeFilterHighlightSettingsBrush;
  highlightType: $Values<typeof BarcodeFilterHighlightType>;
  brush: Brush$1 | null;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.7.0
 */

declare var AdaptiveRecognitionErrorReason: {|
  +Unknown: "unknown", // "unknown"
  +Timeout: "timeout", // "timeout"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 8.7.0
 */
declare class AdaptiveRecognitionFrameMetadata {
  constructor(): this;

  /**
   * Monotonic per-mode ordinal identifying the frame within a capture session.
   * @since 8.7.0
   */
  frameId: number;

  /**
   * The barcodes recognized in the dispatched frame.
   * @since 8.7.0
   */
  barcodes: Barcode[];
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.7.0
 */
declare interface AdaptiveRecognitionServiceListener {
  /**
   * Invoked when a frame is dispatched to the adaptive recognition service. The frame data is provided for the mode’s own use, for example to display the dispatched frame.
   * @since 8.7.0
   */
  onAdaptiveRecognitionServiceDispatchStarted?: (
    getFrameData: () => Promise<FrameData | null>,
    frameMetadata: AdaptiveRecognitionFrameMetadata
  ) => void | Promise<void>;

  /**
   * Invoked when an adaptive recognition dispatch completes successfully. The response is a JSON string whose shape is defined by the task’s response schema and is opaque to the SDK.
   * @since 8.7.0
   */
  onAdaptiveRecognitionServiceResponse?: (
    response: string,
    frameMetadata: AdaptiveRecognitionFrameMetadata
  ) => void | Promise<void>;

  /**
   * Invoked when an adaptive recognition dispatch fails.
   * @since 8.7.0
   */
  onAdaptiveRecognitionServiceError?: (
    reason: $Values<typeof AdaptiveRecognitionErrorReason>,
    frameMetadata: AdaptiveRecognitionFrameMetadata
  ) => void | Promise<void>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class BarcodeCaptureFeedback$1 mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  success: Feedback$1;

  /**
   * Returns a barcode capture feedback with default configuration:
   *
   * - default beep sound is loaded,
   * - beeping for the success event is enabled,
   * - vibration for the success event is enabled.
   * @since 6.5.0
   */
  static default: BarcodeCaptureFeedback$1;
}
/**
 * Contains information about barcode-capture-specific licensing.
 * @since 8.6.0
 */
declare class BarcodeCaptureLicenseInfo {
  /**
   * Which symbologies are licensed and can be used for barcode capture.
   * @since 8.6.0
   */
  licensedSymbologies: $Values<typeof Symbology>[];
  static fromJSON(json: {
    licensedSymbologies?: string[],
    ...
  }): BarcodeCaptureLicenseInfo;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class BarcodeCaptureSession {
  /**
   * Last newly recognized barcode in the last processed frame.
   * @since 6.26.0
   */
  newlyRecognizedBarcode: Barcode | null;

  /**
   * List of codes that were newly localized (but not recognized) in the last processed frame.
   * @since 6.5.0
   */
  newlyLocalizedBarcodes: LocalizedOnlyBarcode[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  frameSequenceID: number;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.12.0
   */
  reset(): Promise<void>;
}
declare interface BarcodeCaptureSessionJSON {
  newlyRecognizedBarcode: BarcodeJSON | null;
  newlyLocalizedBarcodes: LocalizedOnlyBarcodeJSON[];
  frameSequenceId: number;
}
/**
 * Listener interface for traditional barcode capture.
 * @since 6.5.0
 */
declare interface BarcodeCaptureListener {
  /**
   * Invoked after a frame has been processed by barcode capture and the session has been updated. In contrast to didScan(), this method is invoked, regardless whether a code was scanned or not. If codes were recognized in this frame, this method is invoked after didScan().
   *
   * This callback will be blocking the further processing of frames, so you should return from it as quickly as possible. Therefore, if you need to perform a time-consuming operation, like querying a database or opening an URL encoded in the barcode data, consider moving it out of this callback, e.g. by using a timeout to let this function return before you do any more work. It is advised to disable the capture mode while you’re doing additional work and enabling it again once that work is done.
   *
   * See the documentation in didScan() for information on how to properly stop recognition of barcodes.
   * @since 6.5.0
   */
  didUpdateSession?: (
    barcodeCapture: BarcodeCapture,
    session: BarcodeCaptureSession,
    getFrameData: () => Promise<FrameData>
  ) => Promise<void>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  didScan?: (
    barcodeCapture: BarcodeCapture,
    session: BarcodeCaptureSession,
    getFrameData: () => Promise<FrameData>
  ) => Promise<void>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class BarcodeCaptureSettings$1 mixins DefaultSerializeable {
  /**
   * Defines the strategy with which to select one out of many visible barcodes. By default, this property is *null* and code selection is disabled.
   * @since 6.5.0
   */
  locationSelection: LocationSelection$1 | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.6.0
   */
  enabledCompositeTypes: $Values<typeof CompositeType>[];

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.26.0
   */
  batterySaving: $Values<typeof BatterySavingMode$1>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  scanIntention: $Values<typeof ScanIntention$1>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionMode: $Values<typeof SelectionMode$1>;

  /**
   * Returns the set of enabled symbologies.
   * @since 6.5.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];
  compositeTypeDescriptions: any;
  static barcodeDefaults: any;
  static barcodeCaptureDefaults: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * Sets a property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 6.5.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 6.5.0
   */
  getProperty(name: string): any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.6.0
   */
  enableSymbologiesForCompositeTypes(
    compositeTypes: $Values<typeof CompositeType>[]
  ): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  setArucoDictionary(dictionary: ArucoDictionary$1): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  codeDuplicateFilter: number;
  -codeDuplicateFilter: any;
}
/**
 * Barcode module - barcode capture, tracking, selection, and related functionality
 * Generated from schema definition.
 *
 * Single entry point interface - all operations go through $executeBarcode.
 * The BarcodeController handles method-specific logic and calls this proxy.
 * The NativeProxy automatically handles the `$` prefix for native method calls.
 */
declare type BarcodeProxy = {
  /**
   * Single entry point for all Barcode operations.
   * Routes to appropriate native command based on moduleName and methodName.
   * @param params Object containing:
   * - moduleName: The name of the module to execute against
   * - methodName: The name of the method to execute
   * - ...other parameters specific to the method
   * @returns Promise resolving to the result (type depends on methodName)
   *
   * Note: This method is called with the `$` prefix ($executeBarcode) which is
   * automatically handled by NativeProxy to route to native implementation.
   */
  $executeBarcode(params: {
    moduleName: string,
    methodName: string,
    [key: string]: any,
  }): Promise<any>,
  ...
} & BaseProxy;

/**
 * Adapter class for Barcode operations.
 * Provides typed methods that internally call $executeBarcode.
 * Generated from schema definition to ensure parameter and method name consistency.
 */
declare class BarcodeProxyAdapter {
  constructor(proxy: BarcodeProxy): this;

  /**
   * Creates a new barcode generator instance
   * @param barcodeGeneratorJson Barcode generator configuration as JSON string
   */
  createBarcodeGenerator(x: {
    barcodeGeneratorJson: string,
    ...
  }): Promise<void>;

  /**
   * Generates a barcode image from base64 encoded data
   * @param generatorId Unique identifier of the barcode generator
   * @param data Base64 encoded data to generate barcode from
   * @param imageWidth Width of the generated barcode image in pixels
   */
  generateFromBase64EncodedData(x: {
    generatorId: string,
    data: string,
    imageWidth: number,
    ...
  }): Promise<string>;

  /**
   * Generates a barcode image from a text string
   * @param generatorId Unique identifier of the barcode generator
   * @param text Text string to encode in the barcode
   * @param imageWidth Width of the generated barcode image in pixels
   */
  generateFromString(x: {
    generatorId: string,
    text: string,
    imageWidth: number,
    ...
  }): Promise<string>;

  /**
   * Disposes the barcode generator and releases resources
   * @param generatorId Unique identifier of the barcode generator to dispose
   */
  disposeBarcodeGenerator(x: {
    generatorId: string,
    ...
  }): Promise<void>;

  /**
   * Resets the barcode capture session
   */
  resetBarcodeCaptureSession(): Promise<void>;

  /**
   * Returns the BarcodeCaptureLicenseInfo JSON, or null when not available
   * @param modeId Unique identifier of the barcode capture mode
   */
  getBarcodeCaptureLicenseInfo(x: {
    modeId: number,
    ...
  }): Promise<string>;

  /**
   * Register persistent event listener for barcode capture events
   * @param modeId Unique identifier of the barcode capture mode
   */
  registerBarcodeCaptureListenerForEvents(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode capture events
   * @param modeId Unique identifier of the barcode capture mode
   */
  unregisterBarcodeCaptureListenerForEvents(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for barcode capture adaptive recognition service events
   * @param modeId Unique identifier of the barcode capture mode
   */
  registerBarcodeCaptureAdaptiveRecognitionServiceListener(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode capture adaptive recognition service events
   * @param modeId Unique identifier of the barcode capture mode
   */
  unregisterBarcodeCaptureAdaptiveRecognitionServiceListener(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for barcode capture did update session event
   * @param modeId Unique identifier of the barcode capture mode
   * @param enabled Whether the mode is enabled
   */
  finishBarcodeCaptureDidUpdateSession(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Finish callback for barcode capture did scan event
   * @param modeId Unique identifier of the barcode capture mode
   * @param enabled Whether the mode is enabled
   */
  finishBarcodeCaptureDidScan(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Sets the enabled state of the barcode capture mode
   * @param modeId Unique identifier of the barcode capture mode
   * @param enabled Whether the mode should be enabled
   */
  setBarcodeCaptureModeEnabledState(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode capture mode configuration
   * @param modeJson Barcode capture mode configuration as JSON string
   */
  updateBarcodeCaptureMode(x: {
    modeJson: string,
    ...
  }): Promise<void>;

  /**
   * Applies new settings to the barcode capture mode
   * @param modeId Unique identifier of the barcode capture mode
   * @param modeSettingsJson Barcode capture mode settings as JSON string
   */
  applyBarcodeCaptureModeSettings(x: {
    modeId: number,
    modeSettingsJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode capture overlay configuration
   * @param viewId Unique identifier of the data capture view
   * @param overlayJson Barcode capture overlay configuration as JSON string
   */
  updateBarcodeCaptureOverlay(x: {
    viewId: number,
    overlayJson: string,
    ...
  }): Promise<void>;

  /**
   * Unfreezes the camera in barcode selection mode
   * @param modeId Unique identifier of the barcode selection mode
   */
  unfreezeCameraInBarcodeSelection(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Freezes the camera in barcode selection mode
   * @param modeId Unique identifier of the barcode selection mode
   */
  freezeCameraInBarcodeSelection(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Selects the unselected barcodes in the current selection session
   * @param modeId Unique identifier of the barcode selection mode
   */
  selectUnselectedBarcodes(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Resets the barcode selection
   * @param modeId Unique identifier of the barcode selection mode
   */
  resetBarcodeSelection(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Selects the aimed barcode
   * @param modeId Unique identifier of the barcode selection mode
   */
  selectAimedBarcode(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Unselects specified barcodes
   * @param modeId Unique identifier of the barcode selection mode
   * @param barcodesJson Barcodes to unselect as JSON string
   */
  unselectBarcodes(x: {
    modeId: number,
    barcodesJson: string,
    ...
  }): Promise<void>;

  /**
   * Sets whether a barcode can be selected
   * @param modeId Unique identifier of the barcode selection mode
   * @param barcodeJson Barcode configuration as JSON string
   * @param enabled Whether the barcode can be selected
   */
  setSelectBarcodeEnabled(x: {
    modeId: number,
    barcodeJson: string,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Increases the count for specified barcodes
   * @param modeId Unique identifier of the barcode selection mode
   * @param barcodeJson Barcodes to increase count for as JSON string
   */
  increaseCountForBarcodes(x: {
    modeId: number,
    barcodeJson: string,
    ...
  }): Promise<void>;

  /**
   * Sets the enabled state of the barcode selection mode
   * @param modeId Unique identifier of the barcode selection mode
   * @param enabled Whether the mode should be enabled
   */
  setBarcodeSelectionModeEnabledState(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode selection mode configuration
   * @param modeId Unique identifier of the barcode selection mode
   * @param modeJson Barcode selection mode configuration as JSON string
   */
  updateBarcodeSelectionMode(x: {
    modeId: number,
    modeJson: string,
    ...
  }): Promise<void>;

  /**
   * Applies new settings to the barcode selection mode
   * @param modeId Unique identifier of the barcode selection mode
   * @param modeSettingsJson Barcode selection mode settings as JSON string
   */
  applyBarcodeSelectionModeSettings(x: {
    modeId: number,
    modeSettingsJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode selection feedback configuration
   * @param modeId Unique identifier of the barcode selection mode
   * @param feedbackJson Barcode selection feedback configuration as JSON string
   */
  updateBarcodeSelectionFeedback(x: {
    modeId: number,
    feedbackJson: string,
    ...
  }): Promise<void>;

  /**
   * Gets the count for a barcode in the selection session
   * @param modeId Unique identifier of the barcode selection mode
   * @param selectionIdentifier Identifier of the selected barcode
   */
  getCountForBarcodeInBarcodeSelectionSession(x: {
    modeId: number,
    selectionIdentifier: string,
    ...
  }): Promise<number>;

  /**
   * Resets the barcode selection session
   * @param modeId Unique identifier of the barcode selection mode
   */
  resetBarcodeSelectionSession(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Selects the unselected barcodes currently tracked in the barcode selection session
   * @param modeId Unique identifier of the barcode selection mode
   */
  selectUnselectedBarcodesInBarcodeSelectionSession(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Returns the BarcodeSelectionLicenseInfo JSON, or null when not available
   * @param modeId Unique identifier of the barcode selection mode
   */
  getBarcodeSelectionLicenseInfo(x: {
    modeId: number,
    ...
  }): Promise<string>;

  /**
   * Finish callback for barcode selection did select event
   * @param modeId Unique identifier of the barcode selection mode
   * @param enabled Whether the mode is enabled
   */
  finishBarcodeSelectionDidSelect(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Finish callback for barcode selection did update session event
   * @param modeId Unique identifier of the barcode selection mode
   * @param enabled Whether the mode is enabled
   */
  finishBarcodeSelectionDidUpdateSession(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for barcode selection events
   * @param modeId Unique identifier of the barcode selection mode
   */
  registerBarcodeSelectionListenerForEvents(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode selection events
   * @param modeId Unique identifier of the barcode selection mode
   */
  unregisterBarcodeSelectionListenerForEvents(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Sets the text for aim to select auto hint
   * @param text Text to display in the hint
   */
  setTextForAimToSelectAutoHint(x: {
    text: string,
    ...
  }): Promise<void>;

  /**
   * Clears the brushes applied to selected barcodes
   */
  clearSelectedBarcodeBrushes(): Promise<void>;

  /**
   * Removes the aimed barcode brush provider
   */
  removeAimedBarcodeBrushProvider(): Promise<void>;

  /**
   * Sets the aimed barcode brush provider
   */
  setAimedBarcodeBrushProvider(): Promise<void>;

  /**
   * Finish callback for aimed barcode brush
   * @param selectionIdentifier Identifier of the selected barcode
   * @param brushJson Brush configuration as JSON string, or null
   */
  finishBrushForAimedBarcodeCallback(x: {
    selectionIdentifier: string,
    brushJson?: string | null,
    ...
  }): Promise<void>;

  /**
   * Removes the tracked barcode brush provider
   */
  removeTrackedBarcodeBrushProvider(): Promise<void>;

  /**
   * Sets the tracked barcode brush provider
   */
  setTrackedBarcodeBrushProvider(): Promise<void>;

  /**
   * Finish callback for tracked barcode brush
   * @param selectionIdentifier Identifier of the selected barcode
   * @param brushJson Brush configuration as JSON string, or null
   */
  finishBrushForTrackedBarcodeCallback(x: {
    selectionIdentifier: string,
    brushJson?: string | null,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode selection basic overlay configuration
   * @param overlayJson Barcode selection overlay configuration as JSON string
   */
  updateBarcodeSelectionBasicOverlay(x: {
    overlayJson: string,
    ...
  }): Promise<void>;

  /**
   * Resets the barcode batch session
   */
  resetBarcodeBatchSession(): Promise<void>;

  /**
   * Returns the BarcodeBatchLicenseInfo JSON, or null when not available
   * @param modeId Unique identifier of the barcode batch mode
   */
  getBarcodeBatchLicenseInfo(x: {
    modeId: number,
    ...
  }): Promise<string>;

  /**
   * Register persistent event listener for barcode batch events
   * @param modeId Unique identifier of the barcode batch mode
   */
  registerBarcodeBatchListenerForEvents(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode batch events
   * @param modeId Unique identifier of the barcode batch mode
   */
  unregisterBarcodeBatchListenerForEvents(x: {
    modeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for barcode batch did update session event
   * @param modeId Unique identifier of the barcode batch mode
   * @param enabled Whether the mode is enabled
   */
  finishBarcodeBatchDidUpdateSessionCallback(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Sets the enabled state of the barcode batch mode
   * @param modeId Unique identifier of the barcode batch mode
   * @param enabled Whether the mode should be enabled
   */
  setBarcodeBatchModeEnabledState(x: {
    modeId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode batch mode configuration
   * @param modeJson Barcode batch mode configuration as JSON string
   */
  updateBarcodeBatchMode(x: {
    modeJson: string,
    ...
  }): Promise<void>;

  /**
   * Applies new settings to the barcode batch mode
   * @param modeId Unique identifier of the barcode batch mode
   * @param modeSettingsJson Barcode batch mode settings as JSON string
   */
  applyBarcodeBatchModeSettings(x: {
    modeId: number,
    modeSettingsJson: string,
    ...
  }): Promise<void>;

  /**
   * Sets the brush for a tracked barcode in basic overlay
   * @param dataCaptureViewId Unique identifier of the data capture view
   * @param brushJson Brush configuration as JSON string, or null
   * @param trackedBarcodeIdentifier Unique identifier of the tracked barcode
   */
  setBrushForTrackedBarcode(x: {
    dataCaptureViewId: number,
    brushJson?: string | null,
    trackedBarcodeIdentifier: number,
    ...
  }): Promise<void>;

  /**
   * Clears all tracked barcode brushes in basic overlay
   * @param dataCaptureViewId Unique identifier of the data capture view
   */
  clearTrackedBarcodeBrushes(x: {
    dataCaptureViewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for barcode batch basic overlay events
   * @param dataCaptureViewId Unique identifier of the data capture view
   */
  registerListenerForBasicOverlayEvents(x: {
    dataCaptureViewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode batch basic overlay events
   * @param dataCaptureViewId Unique identifier of the data capture view
   */
  unregisterListenerForBasicOverlayEvents(x: {
    dataCaptureViewId: number,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode batch basic overlay configuration
   * @param dataCaptureViewId Unique identifier of the data capture view
   * @param overlayJson Barcode batch basic overlay configuration as JSON string
   */
  updateBarcodeBatchBasicOverlay(x: {
    dataCaptureViewId: number,
    overlayJson: string,
    ...
  }): Promise<void>;

  /**
   * Sets the view for a tracked barcode in advanced overlay
   * @param dataCaptureViewId Unique identifier of the data capture view
   * @param viewJson View configuration as JSON string, or null
   * @param trackedBarcodeIdentifier Unique identifier of the tracked barcode
   */
  setViewForTrackedBarcode(x: {
    dataCaptureViewId: number,
    viewJson?: { [key: string]: any } | string | null,
    trackedBarcodeIdentifier: number,
    ...
  }): Promise<void>;

  /**
   * Updates the size of a tracked barcode view in advanced overlay
   * @param trackedBarcodeIdentifier Unique identifier of the tracked barcode
   * @param width Width of the view in pixels
   * @param height Height of the view in pixels
   */
  updateSizeOfTrackedBarcodeView(x: {
    trackedBarcodeIdentifier: number,
    width: number,
    height: number,
    ...
  }): Promise<void>;

  /**
   * Sets the anchor for a tracked barcode in advanced overlay
   * @param dataCaptureViewId Unique identifier of the data capture view
   * @param anchorJson Anchor configuration as JSON string
   * @param trackedBarcodeIdentifier Unique identifier of the tracked barcode
   */
  setAnchorForTrackedBarcode(x: {
    dataCaptureViewId: number,
    anchorJson: string,
    trackedBarcodeIdentifier: number,
    ...
  }): Promise<void>;

  /**
   * Sets the offset for a tracked barcode in advanced overlay
   * @param dataCaptureViewId Unique identifier of the data capture view
   * @param offsetJson Offset configuration as JSON string
   * @param trackedBarcodeIdentifier Unique identifier of the tracked barcode
   */
  setOffsetForTrackedBarcode(x: {
    dataCaptureViewId: number,
    offsetJson: string,
    trackedBarcodeIdentifier: number,
    ...
  }): Promise<void>;

  /**
   * Clears all tracked barcode views in advanced overlay
   * @param dataCaptureViewId Unique identifier of the data capture view
   */
  clearTrackedBarcodeViews(x: {
    dataCaptureViewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for barcode batch advanced overlay events
   * @param dataCaptureViewId Unique identifier of the data capture view
   */
  registerListenerForAdvancedOverlayEvents(x: {
    dataCaptureViewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode batch advanced overlay events
   * @param dataCaptureViewId Unique identifier of the data capture view
   */
  unregisterListenerForAdvancedOverlayEvents(x: {
    dataCaptureViewId: number,
    ...
  }): Promise<void>;

  /**
   * Updates the barcode batch advanced overlay configuration
   * @param dataCaptureViewId Unique identifier of the data capture view
   * @param overlayJson Barcode batch advanced overlay configuration as JSON string
   */
  updateBarcodeBatchAdvancedOverlay(x: {
    dataCaptureViewId: number,
    overlayJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeCount view configuration
   * @param viewId Unique identifier of the BarcodeCount view
   * @param viewJson BarcodeCount view configuration as JSON string
   */
  updateBarcodeCountView(x: {
    viewId: number,
    viewJson: { [key: string]: any } | string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeCount view events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  registerBarcodeCountViewListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeCount view events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  unregisterBarcodeCountViewListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeCount view UI events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  registerBarcodeCountViewUiListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeCount view UI events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  unregisterBarcodeCountViewUiListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Clears all barcode highlights in the BarcodeCount view
   * @param viewId Unique identifier of the BarcodeCount view
   */
  clearBarcodeCountHighlights(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for recognized barcode brush
   * @param viewId Unique identifier of the BarcodeCount view
   * @param brushJson Brush configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountBrushForRecognizedBarcode(x: {
    viewId: number,
    brushJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for recognized barcode not in list brush
   * @param viewId Unique identifier of the BarcodeCount view
   * @param brushJson Brush configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountBrushForRecognizedBarcodeNotInList(x: {
    viewId: number,
    brushJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for accepted barcode brush
   * @param viewId Unique identifier of the BarcodeCount view
   * @param brushJson Brush configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountBrushForAcceptedBarcode(x: {
    viewId: number,
    brushJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for rejected barcode brush
   * @param viewId Unique identifier of the BarcodeCount view
   * @param brushJson Brush configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountBrushForRejectedBarcode(x: {
    viewId: number,
    brushJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for recognized barcode icon
   * @param viewId Unique identifier of the BarcodeCount view
   * @param iconJson BarcodeCountIcon configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountIconForRecognizedBarcode(x: {
    viewId: number,
    iconJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for recognized barcode not in list icon
   * @param viewId Unique identifier of the BarcodeCount view
   * @param iconJson BarcodeCountIcon configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountIconForRecognizedBarcodeNotInList(x: {
    viewId: number,
    iconJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for accepted barcode icon
   * @param viewId Unique identifier of the BarcodeCount view
   * @param iconJson BarcodeCountIcon configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountIconForAcceptedBarcode(x: {
    viewId: number,
    iconJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for rejected barcode icon
   * @param viewId Unique identifier of the BarcodeCount view
   * @param iconJson BarcodeCountIcon configuration as JSON string, or null
   * @param trackedBarcodeId Unique identifier of the tracked barcode
   */
  finishBarcodeCountIconForRejectedBarcode(x: {
    viewId: number,
    iconJson?: string | null,
    trackedBarcodeId: number,
    ...
  }): Promise<void>;

  /**
   * Shows the BarcodeCount view
   * @param viewId Unique identifier of the BarcodeCount view
   */
  showBarcodeCountView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Hides the BarcodeCount view
   * @param viewId Unique identifier of the BarcodeCount view
   */
  hideBarcodeCountView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Enables hardware trigger for BarcodeCount
   * @param viewId Unique identifier of the BarcodeCount view
   * @param hardwareTriggerKeyCode Key code for hardware trigger, or null to disable
   */
  enableBarcodeCountHardwareTrigger(x: {
    viewId: number,
    hardwareTriggerKeyCode?: number | null,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeCount mode configuration
   * @param viewId Unique identifier of the BarcodeCount view
   * @param barcodeCountJson BarcodeCount mode configuration as JSON string
   */
  updateBarcodeCountMode(x: {
    viewId: number,
    barcodeCountJson: string,
    ...
  }): Promise<void>;

  /**
   * Resets the BarcodeCount mode
   * @param viewId Unique identifier of the BarcodeCount view
   */
  resetBarcodeCount(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeCount mode events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  registerBarcodeCountListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeCount mode events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  unregisterBarcodeCountListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for barcode count adaptive recognition service events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  registerBarcodeCountAdaptiveRecognitionServiceListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for barcode count adaptive recognition service events
   * @param viewId Unique identifier of the BarcodeCount view
   */
  unregisterBarcodeCountAdaptiveRecognitionServiceListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for BarcodeCount on scan event
   * @param viewId Unique identifier of the BarcodeCount view
   */
  finishBarcodeCountOnScan(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for BarcodeCount on session updated event
   * @param viewId Unique identifier of the BarcodeCount view
   */
  finishBarcodeCountOnSessionUpdated(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Starts the BarcodeCount scanning phase
   * @param viewId Unique identifier of the BarcodeCount view
   */
  startBarcodeCountScanningPhase(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Ends the BarcodeCount scanning phase
   * @param viewId Unique identifier of the BarcodeCount view
   */
  endBarcodeCountScanningPhase(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Sets the capture list for BarcodeCount
   * @param viewId Unique identifier of the BarcodeCount view
   * @param captureListJson Capture list configuration as JSON string
   * @param hasTransformer Whether the capture list has a transformer
   */
  setBarcodeCountCaptureList(x: {
    viewId: number,
    captureListJson: string,
    hasTransformer: boolean,
    ...
  }): Promise<void>;

  /**
   * Submits the barcode data transformer result for BarcodeCount
   * @param viewId Unique identifier of the BarcodeCount view
   * @param transformedData Transformed barcode data string, or null
   */
  submitBarcodeDataTransformerResult(x: {
    viewId: number,
    transformedData?: string | null,
    ...
  }): Promise<void>;

  /**
   * Sets the enabled state of the BarcodeCount mode
   * @param viewId Unique identifier of the BarcodeCount view
   * @param isEnabled Whether the mode should be enabled
   */
  setBarcodeCountModeEnabledState(x: {
    viewId: number,
    isEnabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeCount feedback configuration
   * @param viewId Unique identifier of the BarcodeCount view
   * @param feedbackJson Feedback configuration as JSON string
   */
  updateBarcodeCountFeedback(x: {
    viewId: number,
    feedbackJson: string,
    ...
  }): Promise<void>;

  /**
   * Resets the BarcodeCount session
   * @param viewId Unique identifier of the BarcodeCount view
   */
  resetBarcodeCountSession(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Gets the BarcodeCount spatial map
   * @param viewId Unique identifier of the BarcodeCount view
   */
  getBarcodeCountSpatialMap(x: {
    viewId: number,
    ...
  }): Promise<{ [key: string]: any, ... } | null>;

  /**
   * Gets the BarcodeCount spatial map with hints for expected grid dimensions
   * @param viewId Unique identifier of the BarcodeCount view
   * @param expectedNumberOfRows Expected number of rows in the spatial grid
   * @param expectedNumberOfColumns Expected number of columns in the spatial grid
   */
  getBarcodeCountSpatialMapWithHints(x: {
    viewId: number,
    expectedNumberOfRows: number,
    expectedNumberOfColumns: number,
    ...
  }): Promise<{ [key: string]: any, ... } | null>;

  /**
   * Adds a barcode count status provider
   * @param viewId Unique identifier of the BarcodeCount view
   */
  addBarcodeCountStatusProvider(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Stops delivering barcode count status requests to the framework
   * @param viewId Unique identifier of the BarcodeCount view
   */
  removeBarcodeCountStatusProvider(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Submits the barcode count status provider callback
   * @param viewId Unique identifier of the BarcodeCount view
   * @param statusJson The status json
   */
  submitBarcodeCountStatusProviderCallback(x: {
    viewId: number,
    statusJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the SparkScan view configuration
   * @param viewId Unique identifier of the SparkScan view
   * @param viewJson SparkScan view configuration as JSON string
   */
  updateSparkScanView(x: {
    viewId: number,
    viewJson: { [key: string]: any } | string,
    ...
  }): Promise<void>;

  /**
   * Shows the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  showSparkScanView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Hides the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  hideSparkScanView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Disposes the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  disposeSparkScanView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Shows a toast message in the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   * @param text Text to display in the toast
   */
  showSparkScanViewToast(x: {
    viewId: number,
    text: string,
    ...
  }): Promise<void>;

  /**
   * Stops scanning in the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  stopSparkScanViewScanning(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Handles host pause event for SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  onHostPauseSparkScanView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Starts scanning in the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  startSparkScanViewScanning(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Pauses scanning in the SparkScan view
   * @param viewId Unique identifier of the SparkScan view
   */
  pauseSparkScanViewScanning(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Prepares the SparkScan view for scanning
   * @param viewId Unique identifier of the SparkScan view
   */
  prepareSparkScanViewScanning(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for SparkScan feedback delegate events
   * @param viewId Unique identifier of the SparkScan view
   */
  registerSparkScanFeedbackDelegateForEvents(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for SparkScan feedback delegate events
   * @param viewId Unique identifier of the SparkScan view
   */
  unregisterSparkScanFeedbackDelegateForEvents(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Submits feedback for a scanned barcode
   * @param viewId Unique identifier of the SparkScan view
   * @param feedbackJson Feedback configuration as JSON string
   */
  submitSparkScanFeedbackForBarcode(x: {
    viewId: number,
    feedbackJson?: string | null,
    ...
  }): Promise<void>;

  /**
   * Submits feedback for a scanned item
   * @param viewId Unique identifier of the SparkScan view
   * @param feedbackJson Feedback configuration as JSON string
   */
  submitSparkScanFeedbackForScannedItem(x: {
    viewId: number,
    feedbackJson?: string | null,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for SparkScan view events
   * @param viewId Unique identifier of the SparkScan view
   */
  registerSparkScanViewListenerEvents(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for SparkScan view events
   * @param viewId Unique identifier of the SparkScan view
   */
  unregisterSparkScanViewListenerEvents(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Resets the SparkScan session
   * @param viewId Unique identifier of the SparkScan view
   */
  resetSparkScanSession(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Returns the SparkScanLicenseInfo JSON, or null when not available
   * @param viewId Unique identifier of the SparkScan view
   */
  getSparkScanLicenseInfo(x: {
    viewId: number,
    ...
  }): Promise<string>;

  /**
   * Returns the SparkScanScanningMode JSON of the view, or null when not available
   * @param viewId Unique identifier of the SparkScan view
   */
  getSparkScanScanningMode(x: {
    viewId: number,
    ...
  }): Promise<string | null>;

  /**
   * Updates the SparkScan mode configuration
   * @param viewId Unique identifier of the SparkScan view
   * @param modeJson SparkScan mode configuration as JSON string
   */
  updateSparkScanMode(x: {
    viewId: number,
    modeJson: string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for SparkScan mode events
   * @param viewId Unique identifier of the SparkScan view
   */
  registerSparkScanListenerForEvents(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for SparkScan mode events
   * @param viewId Unique identifier of the SparkScan view
   */
  unregisterSparkScanListenerForEvents(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for SparkScan did update session event
   * @param viewId Unique identifier of the SparkScan view
   * @param isEnabled Whether the mode is enabled
   */
  finishSparkScanDidUpdateSession(x: {
    viewId: number,
    isEnabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Finish callback for SparkScan did scan event
   * @param viewId Unique identifier of the SparkScan view
   * @param isEnabled Whether the mode is enabled
   */
  finishSparkScanDidScan(x: {
    viewId: number,
    isEnabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Sets the enabled state of the SparkScan mode
   * @param viewId Unique identifier of the SparkScan view
   * @param isEnabled Whether the mode should be enabled
   */
  setSparkScanModeEnabledState(x: {
    viewId: number,
    isEnabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Starts the BarcodePick view scanning
   * @param viewId Unique identifier of the BarcodePick view
   */
  pickViewStart(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Freezes the BarcodePick view scanning
   * @param viewId Unique identifier of the BarcodePick view
   */
  pickViewFreeze(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Stops the BarcodePick view scanning
   * @param viewId Unique identifier of the BarcodePick view
   */
  pickViewStop(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Resets the BarcodePick view
   * @param viewId Unique identifier of the BarcodePick view
   */
  pickViewReset(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Pauses the BarcodePick view scanning
   * @param viewId Unique identifier of the BarcodePick view
   */
  pickViewPause(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Resumes the BarcodePick view scanning
   * @param viewId Unique identifier of the BarcodePick view
   */
  pickViewResume(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for pick action
   * @param viewId Unique identifier of the BarcodePick view
   * @param itemData Item data
   * @param actionResult Pick action result
   */
  finishPickAction(x: {
    viewId: number,
    itemData: string,
    actionResult: boolean,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodePick view configuration
   * @param viewId Unique identifier of the BarcodePick view
   * @param json BarcodePick view configuration as JSON string
   */
  updatePickView(x: {
    viewId: number,
    json: string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodePick mode events
   * @param viewId Unique identifier of the BarcodePick view
   */
  addBarcodePickListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodePick mode events
   * @param viewId Unique identifier of the BarcodePick view
   */
  removeBarcodePickListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodePick scanning events
   * @param viewId Unique identifier of the BarcodePick view
   */
  addBarcodePickScanningListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodePick scanning events
   * @param viewId Unique identifier of the BarcodePick view
   */
  removeBarcodePickScanningListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodePick action events
   * @param viewId Unique identifier of the BarcodePick view
   */
  addPickActionListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodePick action events
   * @param viewId Unique identifier of the BarcodePick view
   */
  removePickActionListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodePick view lifecycle events
   * @param viewId Unique identifier of the BarcodePick view
   */
  addPickViewListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodePick view lifecycle events
   * @param viewId Unique identifier of the BarcodePick view
   */
  removePickViewListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodePick view UI events
   * @param viewId Unique identifier of the BarcodePick view
   */
  registerBarcodePickViewUiListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodePick view UI events
   * @param viewId Unique identifier of the BarcodePick view
   */
  unregisterBarcodePickViewUiListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for product identifier provider events
   * @param viewId Unique identifier of the BarcodePick view
   */
  registerOnProductIdentifierForItemsListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for product identifier provider events
   * @param viewId Unique identifier of the BarcodePick view
   */
  unregisterOnProductIdentifierForItemsListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for highlight style async provider events
   * @param viewId Unique identifier of the BarcodePick view
   */
  registerHighlightStyleAsyncProviderListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for highlight style async provider events
   * @param viewId Unique identifier of the BarcodePick view
   */
  unregisterHighlightStyleAsyncProviderListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for custom view provider events
   * @param viewId Unique identifier of the BarcodePick view
   */
  registerCustomViewProviderListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for custom view provider events
   * @param viewId Unique identifier of the BarcodePick view
   */
  unregisterCustomViewProviderListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for product identifier for items
   * @param viewId Unique identifier of the BarcodePick view
   * @param itemsJson Product items as JSON string
   */
  finishOnProductIdentifierForItems(x: {
    viewId: number,
    itemsJson: string,
    ...
  }): Promise<void>;

  /**
   * Finish callback for barcode pick view highlight style custom view provider view for request
   * @param viewId Unique identifier of the BarcodePick view
   * @param requestId Request id
   * @param responseJson Response as JSON string
   */
  finishBarcodePickViewHighlightStyleCustomViewProviderViewForRequest(x: {
    viewId: number,
    requestId: number,
    responseJson?: string | null,
    ...
  }): Promise<void>;

  /**
   * Finish callback for barcode pick view highlight style async provider style for request
   * @param viewId Unique identifier of the BarcodePick view
   * @param requestId Request id
   * @param responseJson Response as Map<String, dynamic>
   */
  finishBarcodePickViewHighlightStyleAsyncProviderStyleForRequest(x: {
    viewId: number,
    requestId: number,
    responseJson?: string | null,
    ...
  }): Promise<void>;

  /**
   * Selects an item with the specified data
   * @param viewId Unique identifier of the BarcodePick view
   * @param data Item data to select
   */
  selectItemWithData(x: {
    viewId: number,
    data: string,
    ...
  }): Promise<string>;

  /**
   * Confirms the action for an item with the specified data
   * @param viewId Unique identifier of the BarcodePick view
   * @param data Item data to confirm action for
   */
  confirmActionForItemWithData(x: {
    viewId: number,
    data: string,
    ...
  }): Promise<void>;

  /**
   * Cancels the action for an item with the specified data
   * @param viewId Unique identifier of the BarcodePick view
   * @param data Item data to cancel action for
   */
  cancelActionForItemWithData(x: {
    viewId: number,
    data: string,
    ...
  }): Promise<void>;

  /**
   * Updates the product list for the BarcodePick view
   * @param viewId Unique identifier of the BarcodePick view
   * @param productsJson JSON string representing the updated product list
   */
  updateProductList(x: {
    viewId: number,
    productsJson: string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeFind view UI events
   * @param viewId Unique identifier of the BarcodeFind view
   */
  registerBarcodeFindViewListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeFind view UI events
   * @param viewId Unique identifier of the BarcodeFind view
   */
  unregisterBarcodeFindViewListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeFind view configuration
   * @param viewId Unique identifier of the BarcodeFind view
   * @param barcodeFindViewJson BarcodeFind view configuration as JSON string
   */
  updateFindView(x: {
    viewId: number,
    barcodeFindViewJson: string,
    ...
  }): Promise<void>;

  /**
   * Starts searching in the BarcodeFind view
   * @param viewId Unique identifier of the BarcodeFind view
   */
  barcodeFindViewStartSearching(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Stops searching in the BarcodeFind view
   * @param viewId Unique identifier of the BarcodeFind view
   */
  barcodeFindViewStopSearching(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Pauses searching in the BarcodeFind view
   * @param viewId Unique identifier of the BarcodeFind view
   */
  barcodeFindViewPauseSearching(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Shows the BarcodeFind view
   * @param viewId Unique identifier of the BarcodeFind view
   */
  showFindView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Hides the BarcodeFind view
   * @param viewId Unique identifier of the BarcodeFind view
   */
  hideFindView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeFind mode configuration
   * @param viewId Unique identifier of the BarcodeFind view
   * @param barcodeFindJson BarcodeFind mode configuration as JSON string
   */
  updateFindMode(x: {
    viewId: number,
    barcodeFindJson: string,
    ...
  }): Promise<void>;

  /**
   * Starts the BarcodeFind mode
   * @param viewId Unique identifier of the BarcodeFind view
   */
  barcodeFindModeStart(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Pauses the BarcodeFind mode
   * @param viewId Unique identifier of the BarcodeFind view
   */
  barcodeFindModePause(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Stops the BarcodeFind mode
   * @param viewId Unique identifier of the BarcodeFind view
   */
  barcodeFindModeStop(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Sets the item list for BarcodeFind
   * @param viewId Unique identifier of the BarcodeFind view
   * @param itemsJson Item list as JSON string; each element conforms to barcode-capture/barcode_find_item.json.
   */
  barcodeFindSetItemList(x: {
    viewId: number,
    itemsJson: string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeFind mode events
   * @param viewId Unique identifier of the BarcodeFind view
   */
  registerBarcodeFindListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeFind mode events
   * @param viewId Unique identifier of the BarcodeFind view
   */
  unregisterBarcodeFindListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Sets the enabled state of the BarcodeFind mode
   * @param viewId Unique identifier of the BarcodeFind view
   * @param enabled Whether the mode should be enabled
   */
  setBarcodeFindModeEnabledState(x: {
    viewId: number,
    enabled: boolean,
    ...
  }): Promise<void>;

  /**
   * Sets the barcode transformer for BarcodeFind
   * @param viewId Unique identifier of the BarcodeFind view
   */
  setBarcodeTransformer(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unsets the barcode transformer for BarcodeFind
   * @param viewId Unique identifier of the BarcodeFind view
   */
  unsetBarcodeTransformer(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Submits the barcode transformer result
   * @param viewId Unique identifier of the BarcodeFind view
   * @param transformedBarcode Transformed barcode string, or null
   */
  submitBarcodeFindTransformerResult(x: {
    viewId: number,
    transformedBarcode?: string | null,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeFind feedback configuration
   * @param viewId Unique identifier of the BarcodeFind view
   * @param feedbackJson Feedback configuration as JSON string
   */
  updateBarcodeFindFeedback(x: {
    viewId: number,
    feedbackJson: string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeAr view UI events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  registerBarcodeArViewUiListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeAr view UI events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  unregisterBarcodeArViewUiListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeAr annotation provider events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  registerBarcodeArAnnotationProvider(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeAr annotation provider events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  unregisterBarcodeArAnnotationProvider(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeAr highlight provider events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  registerBarcodeArHighlightProvider(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeAr augmentation eviction events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  registerBarcodeArAugmentationsListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeAr augmentation eviction events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  unregisterBarcodeArAugmentationsListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeAr highlight provider events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  unregisterBarcodeArHighlightProvider(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Register persistent event callback for BarcodeAr filter events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  registerBarcodeArFilter(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event callback for BarcodeAr filter events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  unregisterBarcodeArFilter(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for BarcodeAr filter barcodes
   * @param viewId Unique identifier of the BarcodeAr view
   * @param filteredBarcodesJson JSON array of barcode IDs to keep
   */
  finishBarcodeArFilterBarcodes(x: {
    viewId: number,
    filteredBarcodesJson: string,
    ...
  }): Promise<void>;

  /**
   * Handles custom highlight click event
   * @param viewId Unique identifier of the BarcodeAr view
   * @param barcodeId Barcode identifier
   */
  onCustomHighlightClicked(x: {
    viewId: number,
    barcodeId: string,
    ...
  }): Promise<void>;

  /**
   * Starts the BarcodeAr view
   * @param viewId Unique identifier of the BarcodeAr view
   */
  barcodeArViewStart(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Stops the BarcodeAr view
   * @param viewId Unique identifier of the BarcodeAr view
   */
  barcodeArViewStop(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Pauses the BarcodeAr view
   * @param viewId Unique identifier of the BarcodeAr view
   */
  barcodeArViewPause(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Shows the BarcodeAr view
   * @param viewId Unique identifier of the BarcodeAr view
   */
  showBarcodeArView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Hides the BarcodeAr view
   * @param viewId Unique identifier of the BarcodeAr view
   */
  hideBarcodeArView(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Resets the BarcodeAr view
   * @param viewId Unique identifier of the BarcodeAr view
   */
  barcodeArViewReset(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeAr view configuration
   * @param viewId Unique identifier of the BarcodeAr view
   * @param viewJson BarcodeAr view configuration as JSON string
   */
  updateBarcodeArView(x: {
    viewId: number,
    viewJson: { [key: string]: any } | string,
    ...
  }): Promise<void>;

  /**
   * Finish callback for BarcodeAr annotation for barcode
   * @param viewId Unique identifier of the BarcodeAr view
   * @param annotationJson Annotation configuration as JSON string
   */
  finishBarcodeArAnnotationForBarcode(x: {
    viewId: number,
    annotationJson: string,
    ...
  }): Promise<void>;

  /**
   * Finish callback for BarcodeAr highlight for barcode
   * @param viewId Unique identifier of the BarcodeAr view
   * @param highlightJson Highlight configuration as JSON string
   */
  finishBarcodeArHighlightForBarcode(x: {
    viewId: number,
    highlightJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeAr highlight
   * @param viewId Unique identifier of the BarcodeAr view
   * @param highlightJson Highlight configuration as JSON string
   */
  updateBarcodeArHighlight(x: {
    viewId: number,
    highlightJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeAr annotation
   * @param viewId Unique identifier of the BarcodeAr view
   * @param annotationJson Annotation configuration as JSON string
   */
  updateBarcodeArAnnotation(x: {
    viewId: number,
    annotationJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeAr popover button at specific index
   * @param viewId Unique identifier of the BarcodeAr view
   * @param updateJson Update configuration as JSON string
   */
  updateBarcodeArPopoverButtonAtIndex(x: {
    viewId: number,
    updateJson: string,
    ...
  }): Promise<void>;

  /**
   * Applies BarcodeAr settings
   * @param viewId Unique identifier of the BarcodeAr view
   * @param settings Settings as JSON string
   */
  applyBarcodeArSettings(x: {
    viewId: number,
    settings: string,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeAr mode configuration
   * @param viewId Unique identifier of the BarcodeAr view
   * @param modeJson BarcodeAr mode configuration as JSON string
   */
  updateBarcodeArMode(x: {
    viewId: number,
    modeJson: string,
    ...
  }): Promise<void>;

  /**
   * Updates the BarcodeAr feedback configuration
   * @param viewId Unique identifier of the BarcodeAr view
   * @param feedbackJson Feedback configuration as JSON string
   */
  updateBarcodeArFeedback(x: {
    viewId: number,
    feedbackJson: string,
    ...
  }): Promise<void>;

  /**
   * Register persistent event listener for BarcodeAr mode events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  registerBarcodeArListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Unregister event listener for BarcodeAr mode events
   * @param viewId Unique identifier of the BarcodeAr view
   */
  unregisterBarcodeArListener(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Finish callback for BarcodeAr did update session event
   * @param viewId Unique identifier of the BarcodeAr view
   */
  finishBarcodeArOnDidUpdateSession(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Resets the BarcodeAr session
   * @param viewId Unique identifier of the BarcodeAr view
   */
  resetBarcodeArSession(x: {
    viewId: number,
    ...
  }): Promise<void>;

  /**
   * Creates a Barcode instance from BarcodeInfo
   * @param barcodeInfoJson Barcode information as JSON string
   */
  createFromBarcodeInfo(x: {
    barcodeInfoJson: string,
    ...
  }): Promise<string>;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface BarcodeCapture$1 {
  type: "barcodeCapture";

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  feedback?: BarcodeCaptureFeedback;
  settings?: BarcodeCaptureSettings;
  enabled?: boolean;
  modeId?: number;
  parentId?: number | null;
  hasListeners?: boolean;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface BarcodeCaptureFeedback {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  success?: Feedback;
}
/**
 * A feedback consisting of a sound and vibration, for example to be provided by a device when a code has been successfully scanned.
 * @since 6.5.0
 */
declare interface Feedback {
  /**
   * The sound to be played when a feedback is required. If *null*, no sound is played. Depending on the device’s ring mode and/or volume settings, no sound may be played even if this property is properly set to a non-*null* instance.
   * @since 6.5.0
   */
  sound?: Sound | null;

  /**
   * The vibration to be emitted when a feedback is required. If *null*, no vibration is emitted. This property is further influenced by the device’s ring mode: the device may not vibrate even if this property is properly set to a non-*null* instance.
   * @since 6.5.0
   */
  vibration?: Vibration | null;
}
/**
 * A sound, to be played for example when a code has been successfully scanned.
 * @since 6.5.0
 */
declare interface Sound {
  /**
   * The name of the resource file, including the extension.
   *
   * On iOS, the file must be added as a resource file, on Android it must be added specifically under app/src/main/assets.
   * @since 6.5.0
   */
  resource?: string;
}
/**
 * A vibration, to be emitted for example when a code has been successfully scanned.
 * @since 6.5.0
 */
declare interface Vibration {
  type?:
    | "default"
    | "selectionHaptic"
    | "successHaptic"
    | "impactHaptic"
    | "impactHapticLight"
    | "failureHaptic"
    | "waveForm";
  timings?: number[];
  amplitudes?: number[];
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface BarcodeCaptureSettings {
  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  codeDuplicateFilter?: number;
  symbologies?: SymbologySettings;

  /**
   * Defines the strategy with which to select one out of many visible barcodes. By default, this property is *null* and code selection is disabled.
   * @since 6.5.0
   */
  locationSelection?: LocationSelection | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.6.0
   */
  enabledCompositeTypes?: ("a" | "b" | "c")[];
  arucoDictionary?: ArucoDictionary | null;
  batterySavingMode?: BatterySavingMode;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.26.0
   */
  batterySaving?: BatterySavingMode;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  scanIntention?: ScanIntention;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionMode?: SelectionMode;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare type SymbologySettings = mixed;
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare type LocationSelection =
  | NoLocationSelection
  | RadiusLocationSelection
  | RectangularLocationSelection;
declare interface NoLocationSelection {
  type: "none";
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface RadiusLocationSelection {
  type: "radius";

  /**
   * The radius of the circle. When using fractional coordinates, the radius is measured relative to the view’s width.
   * @since 6.5.0
   */
  radius: UIValue;
}
declare interface UIValue {
  value?: number;
  unit?: "fraction" | "pixel" | "dip";
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface RectangularLocationSelection {
  type: "rectangular";
  size: UIAspectSize;
}
declare interface UIAspectSize {
  width?: UIValue;
  height?: UIValue;
  shorterDimension?: UIValue;
  aspect?: number;
}
/**
 * @since 6.19.0
 */
declare interface ArucoDictionary {
  preset?:
    | "4X4_250"
    | "5X5_50"
    | "5X5_100"
    | "5X5_250"
    | "5X5_1000"
    | "5X5_1023"
    | "6X6_250";
  markerSize?: number;
  markers?: ArucoMarker[];
}
/**
 * @since 6.19.0
 */
declare interface ArucoMarker {
  markerSize?: number;
  markerData?: string;
}
/**
 * A feature that can help you extend the battery life of your phone when you are running low on power. It reduces some of the functions and features that consume more energy.
 * @since 6.21.0
 */
declare type BatterySavingMode = "on" | "off" | "auto";
/**
 * [object Object],[object Object],[object Object]
 * @since 6.24.0
 */
declare type ScanIntention = "manual" | "smart" | "smartSelection";
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.5.0
 */
declare type SelectionMode = "off" | "on" | "auto";
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface BarcodeCaptureOverlay$1 {
  type: "barcodeCapture";

  /**
   * The brush used for visualizing a recognized barcode in the UI. To turn off drawing of locations, set the brush to use both a transparent fill and stroke color. By default, the brush has a transparent fill color, a “Scandit”-blue stroke color, and a stroke width of 1.
   * @since 6.5.0
   */
  brush?: Brush;
  selectionBrush?: Brush;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  viewfinder?: Viewfinder;

  /**
   * Whether to show scan area guides on top of the preview. This property is useful during development to visualize the current scan areas on screen. It is not meant to be used for production. By default this property is *false*.
   * @since 6.5.0
   */
  shouldShowScanAreaGuides?: boolean;
  drawLocalizedOnlyBarcodes?: boolean;
  shouldRemoveLocationsAfterScan?: boolean;
  modeId?: number;
}
/**
 * Brushes define how objects are drawn on screen and allow to change their fill and stroke color as well as the stroke width. They are, for example, used to change the styling of barcode locations, or other objects drawn on top of the video preview. Brushes are immutable. Once created none of the members can be modified.
 * @since 6.5.0
 */
declare interface Brush {
  fill?: Fill;
  stroke?: Stroke;
}
declare interface Fill {
  color?: Color;
}
/**
 * @since 6.5.0
 */
declare type Color = string;
declare interface Stroke {
  color?: Color;
  width?: number;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare type Viewfinder =
  | NoneViewfinder
  | RectangularViewfinder
  | LaserlineViewfinder
  | SpotlightViewfinder
  | AimerViewfinder
  | TargetAimerViewfinder;
declare interface NoneViewfinder {
  type: "none";
  pointOfInterest?: UIPoint | null;
}
declare interface UIPoint {
  x: UIValue;
  y: UIValue;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface RectangularViewfinder {
  type: "rectangular";

  /**
   * The style of the viewfinder.
   * @since 6.8.0
   */
  style?: "rounded" | "square";
  size?: UIAspectSize;

  /**
   * The color used to draw the logo and viewfinder when the mode is enabled. The color is always used at full opacity, changing the alpha value has no effect.
   * @since 6.5.0
   */
  color?: Color;

  /**
   * The color used to draw the logo and viewfinder when the mode is disabled. By default transparent.
   * @since 6.11.0
   */
  disabledColor?: Color;

  /**
   * The style of the viewfinder’s lines.
   * @since 6.8.0
   */
  lineStyle?: "light" | "bold";

  /**
   * The amount the area outside the viewfinder’s rectangle is dimmed by. Accepts values between 0 (no dimming) and 1 (fully blacked out).
   * @since 6.8.0
   */
  dimming?: number;

  /**
   * The amount the area outside the viewfinder’s rectangle is dimmed by when the mode is disabled. Accepts values between 0 (no dimming) and 1 (fully blacked out).
   * @since 6.11.0
   */
  disabledDimming?: number;

  /**
   * The animation used for the viewfinder, if any.
   * @since 6.8.0
   */
  animation?: RectangularViewfinderAnimation;
  pointOfInterest?: UIPoint | null;
}
/**
 * Standard rectangular viewfinder animation made up of an appear animation as well as a looping animation following the appearance.
 * @since 6.8.0
 */
declare interface RectangularViewfinderAnimation {
  looping?: boolean;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.4.0
 */
declare interface LaserlineViewfinder {
  type: "laserline";
  style?: "legacy" | "animated";

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  width?: UIValue;

  /**
   * The color to be used when recognition is enabled/active.
   * @since 7.4.0
   */
  enabledColor?: Color;

  /**
   * The color to be used when recognition is disabled/inactive.
   * @since 7.4.0
   */
  disabledColor?: Color;
  pointOfInterest?: UIPoint | null;
}
declare interface SpotlightViewfinder {
  type: "spotlight";
  size?: UIAspectSize;
  enabledBorderColor?: Color;
  disabledBorderColor?: Color;
  pointOfInterest?: UIPoint | null;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.7.0
 */
declare interface AimerViewfinder {
  type: "aimer";

  /**
   * The color of the outer frame.
   * @since 6.7.0
   */
  frameColor?: Color;

  /**
   * The color of the central dot. The alpha value is ignored and remains at 70%.
   * @since 6.7.0
   */
  dotColor?: Color;
  pointOfInterest?: UIPoint | null;
}
declare interface TargetAimerViewfinder {
  type: "targetAimer";
  lineColor?: Color;
  lineStrokeWidth?: number;
  aimerColor?: Color;
  radius?: UIValue;
}
/**
 * Data capture mode that implements barcode selection.
 *
 * Learn more on how to use Barcode Selection in our [Get Started](https://docs.scandit.com/sdks/react-native/barcode-selection/get-started) guide.
 * @since 6.10.0
 */
declare interface BarcodeSelection$1 {
  type: "barcodeSelection";

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  feedback?: BarcodeSelectionFeedback$1;
  settings?: BarcodeSelectionSettings$1;
  enabled?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  pointOfInterest?: UIPoint | null;
  modeId?: number;
  parentId?: number | null;
  hasListeners?: boolean;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare interface BarcodeSelectionFeedback$1 {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selection?: Feedback;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare interface BarcodeSelectionSettings$1 {
  symbologies?: SymbologySettings;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selectionType?: SelectionType;
  singleBarcodeAutoDetectionEnabled?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  codeDuplicateFilter?: number;

  /**
   * If false, selection through tap is disabled. Defaults to *true*. This property only has its effect when used with manual aimer selection.
   * @since 8.6.0
   */
  tapGestureForSelectionEnabled?: boolean;
  swipeGesturesEnabled?: boolean;
}
declare type SelectionType = TapSelection | AimerSelection;
declare interface TapSelection {
  type: "tapSelection";
  tapBehavior?: "toggleSelection" | "repeatSelection";
  freezeBehavior?: "manual" | "manualAndAutomatic";
  shouldFreezeOnDoubleTap?: boolean;
}
declare interface AimerSelection {
  type: "aimerSelection";
  selectionStrategy?: SelectionStrategy;
  aimerBehavior?: "toggleSelection" | "repeatSelection";
}
declare type SelectionStrategy =
  | ManualSelectionStrategy
  | AutoSelectionStrategy;
declare interface ManualSelectionStrategy {
  type: "manualSelectionStrategy";
}
declare interface AutoSelectionStrategy {
  type: "autoSelectionStrategy";
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare interface BarcodeSelectionBasicOverlay$1 {
  type: "barcodeSelectionBasic";

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  trackedBrush?: Brush;

  /**
   * The brush applied to the barcode that is currently being aimed at.
   * @since 6.10.0
   */
  aimedBrush?: Brush;

  /**
   * The brush applied to the barcodes for the short moment when they are being selected.
   * @since 6.10.0
   */
  selectingBrush?: Brush;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selectedBrush?: Brush;

  /**
   * When set to *true*, this overlay will visualize some hints explaining how to use barcode selection.
   *
   * By default this property is *true*.
   * @since 6.10.0
   */
  shouldShowHints?: boolean;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  shouldShowScanAreaGuides?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  viewfinder?: Viewfinder;

  /**
   * The overlay style. Defaults to Frame.
   * @since 6.10.0
   */
  style?: "dot" | "frame";

  /**
   * The overlay’s background color when in frozen state. This color will be on top of the video preview but below the highlights. Semitransparent black by default.
   * @since 8.7.0
   */
  frozenBackgroundColor?: Color;
  textForSelectOrDoubleTapToFreezeHint?: string;
  textForTapToSelectHint?: string;
  textForDoubleTapToUnfreezeHint?: string;
  textForTapAnywhereToSelectHint?: string;
  textForAimToSelectAutoHint?: string;
  modeId?: number;
  hasAimedBrushProvider?: boolean;
  hasTrackedBrushProvider?: boolean;
}
declare interface BarcodeTracking {
  type: "barcodeTracking";
  settings?: BarcodeTrackingSettings;
  enabled?: boolean;
  modeId?: number;
  hasListeners?: boolean;
  parentId?: number | null;
}
declare interface BarcodeTrackingSettings {
  /**
   * @deprecated since 6.26
   */
  scenario?: string;
  symbologies?: SymbologySettings;
  expectOnlyUniqueBarcodes?: boolean;
  arucoDictionary?: ArucoDictionary | null;
}
declare interface BarcodeTrackingBasicOverlay {
  type: "barcodeTrackingBasic";

  /**
   * @deprecated since 7.0
   */
  defaultBrush?: Brush;
  brush?: Brush;
  shouldShowScanAreaGuides?: boolean;
  drawLocalizedOnlyBarcodes?: boolean;
  style?: "frame" | "dot";
  dotRadius?: UIValue;
  modeId?: number;
  hasListener?: boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare type Anchor =
  | "topLeft"
  | "topCenter"
  | "topRight"
  | "centerLeft"
  | "center"
  | "centerRight"
  | "bottomLeft"
  | "bottomCenter"
  | "bottomRight";
declare interface BarcodeTrackingAdvancedOverlay {
  type: "barcodeTrackingAdvanced";
  shouldShowScanAreaGuides?: boolean;
  modeId?: number;
  hasListener?: boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.8.0
 */
declare type LogoStyle = "minimal" | "extended";
/**
 * [object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare interface SparkScanView$1 {
  /**
   * @deprecated since 6.26
   */
  shouldShowScanAreaGuides?: boolean;
  viewSettings?: SparkScanViewSettings$1;

  /**
   * @deprecated since 7.0
   */
  stopCapturingText?: string;

  /**
   * @deprecated since 7.0
   */
  startCapturingText?: string;

  /**
   * @deprecated since 7.0
   */
  resumeCapturingText?: string;

  /**
   * @deprecated since 7.0
   */
  scanningCapturingText?: string;

  /**
   * Sets the background color of the trigger button when button is collapsed.
   * @since 7.0.0
   */
  triggerButtonCollapsedColor?: Color | null;

  /**
   * Sets the background color of the trigger button when button is expanded.
   * @since 7.0.0
   */
  triggerButtonExpandedColor?: Color | null;

  /**
   * Sets the color of the pulsing animation around the trigger button, which is shown when the scanner is active.
   * @since 7.0.0
   */
  triggerButtonAnimationColor?: Color | null;

  /**
   * Sets the trigger button tint color.
   * @since 7.0.0
   */
  triggerButtonTintColor?: Color | null;

  /**
   * @deprecated since 7.0
   */
  captureButtonBackgroundColor?: Color;

  /**
   * @deprecated since 7.0
   */
  captureButtonActiveBackgroundColor?: Color;

  /**
   * @deprecated since 7.0
   */
  captureButtonTintColor?: Color;

  /**
   * Sets the toolbar background color.
   *
   * Default is *null*.
   * @since 6.16.0
   */
  toolbarBackgroundColor?: Color | null;

  /**
   * Sets the toolbar icon active color.
   *
   * Default is *null*.
   * @since 6.16.0
   */
  toolbarIconActiveTintColor?: Color | null;

  /**
   * Sets the toolbar icon inactive color.
   *
   * Default is *null*.
   * @since 6.16.0
   */
  toolbarIconInactiveTintColor?: Color | null;

  /**
   * @deprecated since 6.26
   */
  soundModeButtonVisible?: boolean;

  /**
   * @deprecated since 6.26
   */
  hapticModeButtonVisible?: boolean;

  /**
   * Indicates whether the barcode count button should be shown to the user.
   *
   * Default is *false*.
   * @since 6.16.0
   */
  barcodeCountButtonVisible?: boolean;

  /**
   * Indicates whether the barcode find button should be shown to the user.
   *
   * Default is *false*.
   * @since 6.26.0
   */
  barcodeFindButtonVisible?: boolean;

  /**
   * @deprecated since 6.26
   */
  fastFindButtonVisible?: boolean;

  /**
   * Indicates whether the target mode button should be shown to the user.
   *
   * Default is *false*.
   * @since 6.16.0
   */
  targetModeButtonVisible?: boolean;

  /**
   * @deprecated since 7.0
   */
  torchButtonVisible?: boolean;

  /**
   * Indicates whether the scanning behavior button should be shown to the user.
   *
   * Default is *false*.
   * @since 6.16.0
   */
  scanningBehaviorButtonVisible?: boolean;

  /**
   * @deprecated since 7.0
   */
  handModeButtonVisible?: boolean;

  /**
   * @deprecated since 6.23
   */
  targetModeHintText?: string;

  /**
   * @deprecated since 6.23
   */
  shouldShowTargetModeHint?: boolean;

  /**
   * Indicates whether the zoom switch control should be shown to the user.
   *
   * Default is *true*.
   * @since 8.4.0
   */
  zoomSwitchControlVisible?: boolean;

  /**
   * Indicates whether the mini preview size control should be shown to the user.
   *
   * Default is *true*.
   * @since 6.23.0
   */
  previewSizeControlVisible?: boolean;

  /**
   * Indicates whether the camera switch button should be shown to the user.
   *
   * Default is *false*.
   *
   * This API is still in beta and may change in future versions of Scandit Data Capture SDK.
   * @since 6.24.0
   */
  cameraSwitchButtonVisible?: boolean;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  torchControlVisible?: boolean;

  /**
   * Indicates whether the mini preview close control should be shown to the user.
   *
   * Default is *true*.
   * @since 7.0.0
   */
  previewCloseControlVisible?: boolean;

  /**
   * The image displayed in the trigger button.
   * @since 7.0.0
   */
  triggerButtonImage?: string | null;

  /**
   * Indicates whether the trigger button should be shown to the user.
   *
   * Default is *true*.
   * @since 7.0.0
   */
  triggerButtonVisible?: boolean;

  /**
   * Indicates whether the label capture button should be shown to the user.
   *
   * Default is *false*.
   * @since 7.4.0
   */
  labelCaptureButtonVisible?: boolean;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionModeButtonVisible?: boolean;
  brush?: Brush;
  hasFeedbackDelegate?: boolean;
  hasUiListener?: boolean;
  viewId?: number;
  shouldHandleAndroidLifecycleAutomatically?: boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare interface SparkScanViewSettings$1 {
  /**
   * The timeout to automatically switch to idle state. When set to negative value timeout is infinite.
   *
   * Default is 5 seconds.
   * @since 6.16.0
   */
  triggerButtonCollapseTimeout?: number;

  /**
   * @deprecated since 6.23
   */
  continuousCaptureTimeout?: number;

  /**
   * The timeout to automatically stop capturing.
   *
   * Default is 10 seconds.
   * @since 6.23.0
   */
  inactiveStateTimeout?: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  defaultTorchState?: "off" | "on" | "auto";

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   * @deprecated since 8.5
   */
  defaultScanningMode?: SparkScanScanningMode;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  scanningBehavior?: "single" | "continuous";

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  previewBehavior?: "default" | "persistent";

  /**
   * @deprecated since 7.0
   */
  defaultHandMode?: "left" | "right";

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  holdToScanEnabled?: boolean;

  /**
   * Indicates whether the feedback should have sound enabled.
   *
   * Default is *true*.
   * @since 6.16.0
   */
  soundEnabled?: boolean;

  /**
   * Indicates whether the feedback should have haptics enabled.
   *
   * Default is *true*.
   * @since 6.16.0
   */
  hapticEnabled?: boolean;

  /**
   * @since 6.16.0
   */
  hardwareTriggerEnabled?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  hardwareTriggerKeyCode?: number | null;

  /**
   * Indicates whether the visual feedback on scan should be displayed.
   *
   * Default is *true*.
   * @since 6.16.0
   */
  visualFeedbackEnabled?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  toastSettings?: SparkScanToastSettings$1;

  /**
   * @deprecated since 6.23
   */
  targetZoomFactorIn?: number;

  /**
   * @deprecated since 6.23
   */
  targetZoomFactorOut?: number;

  /**
   * The zoom factor to move to when the zoom switch control was tapped.
   *
   * Default is 2.
   * @since 6.23.0
   */
  zoomFactorIn?: number;

  /**
   * The zoom factor to use for the camera.
   *
   * Default is 1.
   * @since 6.23.0
   */
  zoomFactorOut?: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  defaultCameraPosition?: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  defaultMiniPreviewSize?: "regular" | "expanded";

  /**
   * Controls the mirroring of the camera feed to support the use of a periscope device.
   *
   * Default is *false*.
   *
   * This property only has an effect on iOS. It does not affect the camera feed on Android.
   * @since 8.3.0
   */
  periscopeModeEnabled?: boolean;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionModeCandidateBrush?: Brush | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   * @deprecated since 8.5
   */
  smartSelectionCandidateBrush?: Brush | null;
  ignoreDragLimits?: boolean;
  shouldShowOnTopAlways?: boolean;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare interface SparkScanScanningMode {
  type: "default" | "target";
  settings?: SparkScanScanningModeSettings;
}
declare interface SparkScanScanningModeSettings {
  scanningBehavior?: "single" | "continuous";

  /**
   * @deprecated since 6.23
   */
  scanningPrecision?: "default" | "accurate";
  previewBehavior?: "default" | "persistent";
}
/**
 * @since 6.19.0
 */
declare interface SparkScanToastSettings$1 {
  /**
   * Should toasts be shown or not.
   *
   * Default is *true*.
   * @since 6.19.0
   */
  toastEnabled?: boolean;

  /**
   * Background color of the toast. If this property is *null*, a default color will be used.
   *
   * Default is *null*.
   * @since 6.19.0
   */
  toastBackgroundColor?: Color | null;

  /**
   * Text color of the toast. If this property is *null*, a default color will be used.
   *
   * Default is *null*.
   * @since 6.19.0
   */
  toastTextColor?: Color | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionModeOnMessage?: string;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionModeOffMessage?: string;

  /**
   * Text of the toast when target mode enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.19.0
   * @deprecated since 8.5
   */
  targetModeEnabledMessage?: string;

  /**
   * Text of the toast when target mode disabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.19.0
   * @deprecated since 8.5
   */
  targetModeDisabledMessage?: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  continuousModeEnabledMessage?: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  continuousModeDisabledMessage?: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.23.0
   */
  scanPausedMessage?: string;

  /**
   * Text of the toast when zooming in.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  zoomedInMessage?: string;

  /**
   * Text of the toast when zooming out.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  zoomedOutMessage?: string;

  /**
   * Text of the toast when torch is enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  torchEnabledMessage?: string;

  /**
   * Text of the toast when torch is disabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  torchDisabledMessage?: string;

  /**
   * Text of the toast when user facing camera is enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.24.0
   */
  userFacingCameraEnabledMessage?: string;

  /**
   * Text of the toast when world facing camera is enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.24.0
   */
  worldFacingCameraEnabledMessage?: string;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare interface CameraSettings {
  recommendedForMode?: string;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  preferredResolution?:
    | "auto"
    | "hd"
    | "fullHd"
    | "uhd4k"
    | "maxResolution"
    | "quadHd";
  preferredAspectRatio?: "auto" | "sixteenToNine" | "fourToThree";
  minFrameRate?: number;
  maxFrameRate?: number;
  preferredFrameRateRange?: "highestWidest" | "highestNarrowest";

  /**
   * The zoom factor to use for the camera. This value is a multiplier, a value of 1.0 means no zoom, while a value of 2.0 doubles the size of the image, but halves the field of view.
   *
   * Values less than 1.0 are treated as 1.0. Values greater than the maximum available zoom factor are clamped to the maximum accepted value.
   *
   * The default zoom factor is 1.0.
   * @since 6.5.0
   */
  zoomFactor?: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.7.0
   * @deprecated since 8.4
   */
  zoomGestureZoomFactor?: number;

  /**
   * The set of zoom levels available for zoom gestures and controls. Each value corresponds to a zoom factor that will be applied to the camera when zooming in our out. The camera automatically filters this list based on the camera hardware capabilities, so zoom levels unsupported by the device are omitted.
   *
   * The default value is `[1, 2]`.
   * @since 8.4.0
   */
  zoomLevels?: number[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  macroMode?: "auto" | "off" | "on";
  manualUntilCaptureTimeout?: number;

  /**
   * Enables adaptive exposure optimization for low-light conditions. When enabled, the camera can trade frame rate for brighter images by allowing longer exposure times. In low-light environments, the frame rate may drop from approximately 30fps to 10fps, while the maximum exposure duration increases from ~33ms to up to 100ms. In well-lit conditions, this setting has no impact on frame rate or exposure.
   *
   * This feature is particularly useful for scanning in challenging lighting conditions where image brightness is more critical than maintaining the highest frame rate.
   *
   * The default value is *false*.
   *
   * On Android this property has no effect.
   * @since 8.3.0
   */
  adaptiveExposure?: boolean;

  /**
   * The torch intensity level. This value must be a number between 0.0 and 1.0. If a number outside the range is provided, either 0.0 or 1.0 will be used instead. Setting the torch level to 0.0 is equivalent to having the torch off.
   *
   * On Android this property has no effect.
   * @since 8.3.0
   */
  torchLevel?: number;
  focus?: FocusSettings;
  api?: number;
  exposureTargetBias?: number;
  colorCorrection?: boolean;
  toneMappingCurve?: "none" | "gamma22" | "linear" | "srgb";
  noiseReductionMode?: "off" | "fast" | "highQuality";
  edgeEnhancementMode?: "off" | "fast" | "highQuality";
  regionStrategy?: "default" | "point" | "spot" | "area" | "matchWithScanArea";
  arbitraryVideoResolution?: CameraSettingsArbitraryVideoResolution;
}
declare interface FocusSettings {
  range?: "full" | "far" | "near";
  manualLensPosition?: number;
  shouldPreferSmoothAutoFocus?: boolean;
  focusStrategy?:
    | "auto"
    | "onlyOnRequest"
    | "forceContinuous"
    | "forceRetrigger"
    | "retriggerUntilScan"
    | "continuousUntilNoScan";
  focusGestureStrategy?:
    | "none"
    | "manual"
    | "manualUntilCapture"
    | "autoOnLocation";
}
declare interface CameraSettingsArbitraryVideoResolution {
  width: number;
  height: number;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.22.0
 */
declare interface BarcodeFindView {
  viewSettings?: BarcodeFindViewSettings$1;
  cameraSettings?: CameraSettings;

  /**
   * Indicates whether guidance should be shown to the user.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  shouldShowUserGuidanceView?: boolean;

  /**
   * Indicates whether hints should be shown to the user.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  shouldShowHints?: boolean;

  /**
   * Indicates whether the item carousel should be shown to the user.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  shouldShowCarousel?: boolean;

  /**
   * Indicates whether the pause button should be shown to the user.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  shouldShowPauseButton?: boolean;

  /**
   * Indicates whether the finish button should be shown to the user.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  shouldShowFinishButton?: boolean;

  /**
   * Indicates whether the progress bar should be shown to the user.
   *
   * Default is *false*.
   * @since 6.22.0
   */
  shouldShowProgressBar?: boolean;

  /**
   * Indicates whether the torch control button should be shown to the user.
   *
   * Default is *false*.
   * @since 6.22.0
   */
  shouldShowTorchControl?: boolean;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  torchControlPosition?: Anchor;

  /**
   * Indicates whether the zoom control should be shown to the user, allowing them to switch between the normal and ultra-wide lenses.
   *
   * Default is *false*.
   *
   * The zoom control requires a device with an ultra-wide camera. On devices without an ultra-wide camera, setting this property to *true* has no effect.
   * @since 7.1.0
   */
  shouldShowZoomControl?: boolean;

  /**
   * Overrides the default text displayed in the button for collapsing the item carousel.
   *
   * Default is *null*.
   * @since 6.22.0
   */
  textForCollapseCardsButton?: string | null;

  /**
   * Overrides the default text displayed in the green confirmation view shown when all items have been found.
   *
   * Default is *null*.
   * @since 6.22.0
   */
  textForAllItemsFoundSuccessfullyHint?: string | null;

  /**
   * Overrides the default text for the “Point at barcodes to search” hint.
   *
   * Default is *null*.
   * @since 6.22.0
   */
  textForPointAtBarcodesToSearchHint?: string | null;

  /**
   * Overrides the default text for the “Move closer” hint.
   *
   * Default is *null*.
   * @since 6.22.0
   */
  textForMoveCloserToBarcodesHint?: string | null;

  /**
   * Overrides the default text for “Tap shutter to pause” hint.
   *
   * Default is *null*.
   * @since 6.22.0
   */
  textForTapShutterToPauseScreenHint?: string | null;

  /**
   * Overrides the default text for “Tap shutter to resume” hint.
   *
   * Default is *null*.
   * @since 6.22.0
   */
  textForTapShutterToResumeSearchHint?: string | null;

  /**
   * Overrides the default text displayed in the confirmation view shown when the item list has been updated.
   *
   * Default is *null*.
   * @since 6.24.0
   */
  textForItemListUpdatedHint?: string | null;

  /**
   * Overrides the default text displayed in the confirmation view shown when the item list has been updated and search is paused.
   *
   * Default is *null*.
   * @since 6.24.0
   */
  textForItemListUpdatedWhenPausedHint?: string | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoStyle?: LogoStyle;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoAnchor?: Anchor;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  cameraStateOnStop?:
    | "on"
    | "off"
    | "starting"
    | "stopping"
    | "standby"
    | "bootingUp"
    | "wakingUp"
    | "goingToSleep"
    | "shuttingDown";
  viewId?: number;

  /**
   * Starts the searching process. You can call this method if you want to trigger the searching process without any user interaction.
   * @since 6.22.0
   */
  startSearching?: boolean;
  hasListener?: boolean;
}
/**
 * @since 6.22.0
 */
declare interface BarcodeFindViewSettings$1 {
  /**
   * The color for the overlay of an item that is in the list of items to find.
   *
   * Default is #2EC1CE.
   * @since 6.22.0
   */
  inListItemColor?: Color;

  /**
   * The color for the overlay of an item that is not in the list of items to find.
   *
   * Default is #FFFFFF.
   * @since 6.22.0
   */
  notInListItemColor?: Color;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  progressBarStartColor?: Color;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  progressBarFinishColor?: Color;

  /**
   * Indicates whether audio feedback should be enabled.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  soundEnabled?: boolean;

  /**
   * Indicates whether haptic feedback should be enabled.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  hapticEnabled?: boolean;

  /**
   * @since 7.1.0
   */
  hardwareTriggerEnabled?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  hardwareTriggerKeyCode?: number | null;
  screenCategory?: "small" | "mid" | "large" | null;
}
/**
 * Capture mode that implements BarcodeFind.
 * @since 6.22.0
 */
declare interface BarcodeFind$1 {
  type: "barcodeFind";
  settings?: BarcodeFindSettings$1;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  feedback?: BarcodeFindFeedback$1;
  enabled?: boolean;
  itemsToFind?: string | null;
  hasBarcodeTransformer?: boolean;
  hasListeners?: boolean;
  barcodeTransformer?: mixed | null;
}
/**
 * @since 6.22.0
 */
declare interface BarcodeFindSettings$1 {
  symbologies?: SymbologySettings;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.22.0
 */
declare interface BarcodeFindFeedback$1 {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  found?: Feedback;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  itemListUpdated?: Feedback;
}
/**
 * An object that represents an item in Barcode Find.
 * @since 6.22.0
 */
declare interface BarcodeFindItem$1 {
  /**
   * The item data to search, and any other option that control the search.
   * @since 6.22.0
   */
  searchOptions: BarcodeFindItemSearchOptions$1;

  /**
   * Optional info about the item.
   * @since 6.22.0
   */
  content?: BarcodeFindItemContent$1 | null;
}
/**
 * An object that defines the search options.
 * @since 6.22.0
 */
declare interface BarcodeFindItemSearchOptions$1 {
  /**
   * The barcode data as a string.
   * @since 6.22.0
   */
  barcodeData: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.2.0
   */
  brush?: Brush | null;
}
/**
 * An object that contains additional info about the product.
 * @since 6.22.0
 */
declare interface BarcodeFindItemContent$1 {
  /**
   * Optional item name.
   * @since 6.22.0
   */
  info?: string;

  /**
   * Optional item details.
   * @since 6.22.0
   */
  additionalInfo?: string;

  /**
   * Optional item image.
   * @since 6.22.0
   */
  image?: string;
}
/**
 * Barcode AR comes with a ready-to-use UI that allows highlighting barcodes and displaying additional information over them. The BarcodeArView integrates with any app in just a few lines of code.
 * @since 7.1.0
 */
declare interface BarcodeArView$1 {
  viewSettings?: BarcodeArViewSettings$1 | null;
  cameraSettings?: CameraSettings | null;

  /**
   * Indicates whether the torch control button should be shown to the user.
   *
   * Default is *false*.
   * @since 7.1.0
   */
  shouldShowTorchControl?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  torchControlPosition?: Anchor;

  /**
   * Indicates whether the zoom control button should be shown to the user.
   * @since 7.1.0
   */
  shouldShowZoomControl?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  zoomControlPosition?: Anchor;

  /**
   * Indicates whether the camera switch control button should be shown to the user.
   * @since 7.1.0
   */
  shouldShowCameraSwitchControl?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  cameraSwitchControlPosition?: Anchor;

  /**
   * Indicates whether the macro mode control button should be shown to the user.
   * @since 7.1.0
   */
  shouldShowMacroModeControl?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  macroModeControlPosition?: Anchor;

  /**
   * Sets the visual offset of the torch control button.
   *
   * Assign null to reset the offset to its default position.
   * @since 8.6.0
   */
  torchControlOffset?: UIPoint | null;

  /**
   * Sets the visual offset of the zoom control button.
   *
   * Assign null to reset the offset to its default position.
   * @since 8.6.0
   */
  zoomControlOffset?: UIPoint | null;

  /**
   * Sets the visual offset of the camera switch control button.
   *
   * Assign null to reset the offset to its default position.
   * @since 8.6.0
   */
  cameraSwitchControlOffset?: UIPoint | null;

  /**
   * Sets the visual offset of the macro mode control button.
   *
   * Assign null to reset the offset to its default position.
   * @since 8.6.0
   */
  macroModeControlOffset?: UIPoint | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoStyle?: LogoStyle;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoAnchor?: Anchor;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoOffset?: UIPoint;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  zoomControlOrientation?: "default" | "horizontal" | "vertical";
  viewId?: number;
  isStarted?: boolean;
  hasModeListener?: boolean;
  hasUiListener?: boolean;
  hasHighlightProvider?: boolean;
  hasAnnotationProvider?: boolean;

  /**
   * Sets the provider which supplies annotation information for barcodes in the view. If *null*, no annotation will be displayed for any barcode.
   * @since 7.1.0
   */
  annotationProvider?: mixed | null;

  /**
   * Sets the provider which supplies highlight information for barcodes in the view. If *null*, a default provider is used, which returns a predefined highlight for each barcode.
   * @since 7.1.0
   */
  highlightProvider?: mixed | null;
  barcodeArViewUiListener?: mixed | null;
}
/**
 * @since 7.1.0
 */
declare interface BarcodeArViewSettings$1 {
  /**
   * Indicates whether the feedback should have sound enabled.
   *
   * Default is *true*.
   * @since 7.1.0
   */
  soundEnabled?: boolean;

  /**
   * Indicates whether the feedback should have haptics enabled.
   *
   * Default is *true*.
   * @since 7.1.0
   */
  hapticEnabled?: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  defaultCameraPosition?: "worldFacing" | "userFacing";
}
/**
 * @since 7.1.0
 */
declare interface BarcodeArSettings$1 {
  symbologies?: SymbologySettings;
  expectOnlyUniqueBarcodes?: boolean;
}
/**
 * Capture mode that implements Barcode AR.
 * @since 7.1.0
 */
declare interface BarcodeAr$1 {
  type: "barcodeAr";
  settings?: BarcodeArSettings$1;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  feedback?: BarcodeArFeedback$1;
  hasModeListener?: boolean;
  hasBarcodeFilter?: boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare interface BarcodeArFeedback$1 {
  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  scanned?: Feedback;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  tapped?: Feedback;
}
declare interface BarcodeCaptureListenerControllerHost {
  +modeId: number;
  +isEnabled: boolean;
  toJSON(): BarcodeCapture$1;
}
declare var BarcodeCaptureListenerEvents: {|
  +didUpdateSession: "BarcodeCaptureListener.didUpdateSession", // "BarcodeCaptureListener.didUpdateSession"
  +didScan: "BarcodeCaptureListener.didScan", // "BarcodeCaptureListener.didScan"
|};

declare var BarcodeCaptureAdaptiveRecognitionEvents: {|
  +dispatchStarted: "BarcodeCaptureAdaptiveRecognitionListener.dispatchStarted", // "BarcodeCaptureAdaptiveRecognitionListener.dispatchStarted"
  +response: "BarcodeCaptureAdaptiveRecognitionListener.response", // "BarcodeCaptureAdaptiveRecognitionListener.response"
  +error: "BarcodeCaptureAdaptiveRecognitionListener.error", // "BarcodeCaptureAdaptiveRecognitionListener.error"
|};
declare class BarcodeCaptureListenerController
  mixins BaseController<BarcodeProxy>
{
  constructor(host: BarcodeCaptureListenerControllerHost): this;
  modeId: any;
  reset(): Promise<void>;
  setModeEnabledState(enabled: boolean): Promise<void>;
  updateBarcodeCaptureMode(): Promise<void>;
  getBarcodeCaptureLicenseInfo(): Promise<BarcodeCaptureLicenseInfo | null>;
  applyBarcodeCaptureModeSettings(
    modeSettings: BarcodeCaptureSettings$1
  ): Promise<void>;
  getFrame(frameId: string): Promise<FrameData>;
  handleDidUpdateSession(
    data: { [key: string]: mixed, ... },
    notify: (session: BarcodeCaptureSession) => Promise<void>
  ): Promise<void>;
  handleDidScan(
    data: { [key: string]: mixed, ... },
    notify: (session: BarcodeCaptureSession) => Promise<void>
  ): Promise<void>;
  handleAdaptiveRecognitionDispatchStarted(
    activeListeners: AdaptiveRecognitionServiceListener[],
    _ev: EventPayload,
    raw: { [key: string]: mixed, ... }
  ): Promise<void>;
  handleAdaptiveRecognitionResponse(
    activeListeners: AdaptiveRecognitionServiceListener[],
    _ev: EventPayload,
    raw: { [key: string]: mixed, ... }
  ): Promise<void>;
  handleAdaptiveRecognitionError(
    activeListeners: AdaptiveRecognitionServiceListener[],
    _ev: EventPayload,
    raw: { [key: string]: mixed, ... }
  ): Promise<void>;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class BarcodeCapture
  mixins ModeBase<BarcodeCaptureListenerController>, DataCaptureMode
{
  static barcodeCaptureDefaults: any;
  type: string;
  listeners: any;
  asControllerHost: any;
  createController(): BarcodeCaptureListenerController;

  /**
   * Returns the recommended camera settings for use with barcode capture.
   * @since 7.6.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;

  /**
   * Constructs a new BarcodeCapture instance with the provided settings.
   * @since 7.6.0
   */
  constructor(settings: BarcodeCaptureSettings$1): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  context: DataCaptureContext | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  isEnabled: boolean;
  -isEnabled: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  feedback: BarcodeCaptureFeedback$1;
  -feedback: any;

  /**
   * Asynchronously applies the new settings to the barcode scanner. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 6.5.0
   */
  applySettings(settings: BarcodeCaptureSettings$1): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  getBarcodeCaptureLicenseInfo(): Promise<BarcodeCaptureLicenseInfo | null>;

  /**
   * Adds the listener to this barcode capture instance.
   *
   * In case the same listener is already observing this instance, calling this method will not add the listener again.
   * @since 6.5.0
   */
  addListener(listener: BarcodeCaptureListener): Promise<void>;

  /**
   * Removes a previously added listener from this barcode capture instance.
   *
   * In case the listener is not currently observing this instance, calling this method has no effect.
   * @since 6.5.0
   */
  removeListener(listener: BarcodeCaptureListener): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  addAdaptiveRecognitionServiceListener(
    listener: AdaptiveRecognitionServiceListener
  ): Promise<void>;

  /**
   * Removes a previously added adaptive recognition service listener from this barcode capture instance.
   * @since 8.7.0
   */
  removeAdaptiveRecognitionServiceListener(
    listener: AdaptiveRecognitionServiceListener
  ): Promise<void>;
}
declare type PrivateBarcodeCapture = {
  _context: DataCaptureContext | null,
  listeners: BarcodeCaptureListener[],
  parentId: number | null,
  ...
} & PrivateDataCaptureMode;

/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.5.0
 */
declare class BarcodeCaptureOverlay
  mixins DefaultSerializeable, DataCaptureOverlay
{
  asHost: any;
  view: any;
  -view: any;
  static barcodeCaptureDefaults: any;

  /**
   * The brush used for visualizing a recognized barcode in the UI. To turn off drawing of locations, set the brush to use both a transparent fill and stroke color. By default, the brush has a transparent fill color, a “Scandit”-blue stroke color, and a stroke width of 1.
   * @since 6.5.0
   */
  brush: Brush$1;
  -brush: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.5.0
   */
  viewfinder: Viewfinder$1 | null;
  -viewfinder: any;

  /**
   * Whether to show scan area guides on top of the preview. This property is useful during development to visualize the current scan areas on screen. It is not meant to be used for production. By default this property is *false*.
   * @since 6.5.0
   */
  shouldShowScanAreaGuides: boolean;
  -shouldShowScanAreaGuides: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.6.0
   */
  constructor(mode: BarcodeCapture): this;
}
declare interface BarcodeCaptureOverlayControllerHost {
  +view: {
    viewId: number,
    ...
  } | null;
  toJSON(): BarcodeCaptureOverlay$1;
}
declare class BarcodeCaptureOverlayController
  mixins BaseController<BarcodeProxy>
{
  constructor(overlay: BarcodeCaptureOverlayControllerHost): this;
  updateBarcodeCaptureOverlay(
    overlay: BarcodeCaptureOverlayControllerHost
  ): Promise<void>;
  dispose(): void;
}
/**
 * @since 7.1.0
 */
declare class BarcodeArSettings mixins DefaultSerializeable {
  static barcodeArDefaults: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  constructor(): this;

  /**
   * Declares whether or not the barcodes to be tracked are expected to be unique. If enabled optimizations can be used to improve Barcode AR.
   * @since 8.6.0
   */
  expectsOnlyUniqueBarcodes: boolean;
  -expectsOnlyUniqueBarcodes: any;

  /**
   * Returns the set of enabled symbologies.
   * @since 7.1.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 7.1.0
   */
  setProperty(name: string, value: { [key: string]: any }): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 7.1.0
   */
  getProperty(name: string): { [key: string]: any };
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare type BarcodeArHighlight = { ... } & DefaultSerializeable;

/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare type BarcodeArAnnotation = {
  /**
   * The trigger that causes the annotation to be presented.
   * @since 7.1.0
   */
  annotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>,
  ...
} & DefaultSerializeable;

/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare class BarcodeArSession mixins DefaultSerializeable {
  constructor(): this;

  /**
   * Newly tracked barcodes.
   * @since 7.1.0
   */
  addedTrackedBarcodes: TrackedBarcode[];

  /**
   * An array of identifiers of lost barcodes that were removed in the last frame.
   * @since 7.1.0
   */
  removedTrackedBarcodes: string[];

  /**
   * A map from identifiers to barcodes. It contains all currently tracked barcodes.
   * @since 7.1.0
   */
  trackedBarcodes: {
    [key: string]: TrackedBarcode,
  };

  /**
   * Resets the session, clearing all barcodes and their states.
   * @since 7.1.0
   */
  reset(): Promise<void>;
}
declare interface BarcodeArSessionJSON {
  addedTrackedBarcodes: TrackedBarcodeJSON[];
  removedTrackedBarcodes: string[];
  allTrackedBarcodes: {
    [key: string]: TrackedBarcodeJSON,
  };
  frameSequenceId?: number;
}
declare interface PrivateBarcodeArSession {
  fromJSON(json: string): BarcodeArSession;
  frameId: string;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.5.0
 */
declare interface BarcodeArFilter {
  /**
   * Filters the provided barcodes and returns which ones should be visible.
   *
   * Param barcodesAll currently visible barcodes.ReturnsA subset of the input barcodes that should be shown to the user. The returned list must only contain barcodes from the input; any other barcodes will be ignored.
   *
   * This method is called on an internal recognition thread and must return quickly to avoid impacting frame processing performance.
   * @since 8.5.0
   */
  filterBarcodes(barcodes: Barcode[]): Promise<Barcode[]>;
}
declare interface BarcodeArViewControllerViewHost {
  +viewId: number;
  toJSON(): {
    View: BarcodeArView$1,
    ...
  };
  hasUiListener(): boolean;
  hasAnnotationProvider(): boolean;
  hasHighlightProvider(): boolean;
  notifyDidTapHighlightForBarcode(
    barcode: Barcode,
    highlight: BarcodeArHighlight
  ): void;
  provideAnnotationForBarcode(
    barcode: Barcode
  ): Promise<BarcodeArAnnotation | null | void>;
  provideHighlightForBarcode(
    barcode: Barcode
  ): Promise<BarcodeArHighlight | null | void>;
}
declare interface BarcodeArModeEventHost {
  toJSON(): BarcodeAr$1;
  +listeners: ReadonlyArray<{
    didUpdateSession?: (
      barcodeAr: mixed,
      session: BarcodeArSession,
      getFrameData: () => Promise<FrameData>
    ) => Promise<void> | void,
    ...
  }>;
  +_barcodeFilter: BarcodeArFilter | null;
  +feedback: {
    toJSON(): { [key: string]: any },
    ...
  };
}
declare type BarcodeArViewControllerModeHost = {
  controller: BarcodeArViewController | null,
  ...
} & BarcodeArModeEventHost;

declare var BarcodeArViewEvents: {|
  +didTapHighlightForBarcode: "BarcodeArViewUiListener.didTapHighlightForBarcode", // "BarcodeArViewUiListener.didTapHighlightForBarcode"
|};

declare var BarcodeArHighlightProviderEvents: {|
  +highlightForBarcode: "BarcodeArHighlightProvider.highlightForBarcode", // "BarcodeArHighlightProvider.highlightForBarcode"
|};

declare var BarcodeArHighlightLifecycleEvents: {|
  +create: "BarcodeArCustomHighlight.create", // "BarcodeArCustomHighlight.create"
  +update: "BarcodeArCustomHighlight.update", // "BarcodeArCustomHighlight.update"
  +hide: "BarcodeArCustomHighlight.hide", // "BarcodeArCustomHighlight.hide"
  +show: "BarcodeArCustomHighlight.show", // "BarcodeArCustomHighlight.show"
  +dispose: "BarcodeArCustomHighlight.dispose", // "BarcodeArCustomHighlight.dispose"
|};

declare var BarcodeArAnnotationLifecycleEvents: {|
  +create: "BarcodeArCustomAnnotation.create", // "BarcodeArCustomAnnotation.create"
  +update: "BarcodeArCustomAnnotation.update", // "BarcodeArCustomAnnotation.update"
  +hide: "BarcodeArCustomAnnotation.hide", // "BarcodeArCustomAnnotation.hide"
  +show: "BarcodeArCustomAnnotation.show", // "BarcodeArCustomAnnotation.show"
  +dispose: "BarcodeArCustomAnnotation.dispose", // "BarcodeArCustomAnnotation.dispose"
|};

declare var BarcodeArAnnotationProviderEvents: {|
  +annotationForBarcode: "BarcodeArAnnotationProvider.annotationForBarcode", // "BarcodeArAnnotationProvider.annotationForBarcode"
  +didTapInfoAnnotationRightIconEvent: "BarcodeArInfoAnnotationListener.didTapInfoAnnotationRightIcon", // "BarcodeArInfoAnnotationListener.didTapInfoAnnotationRightIcon"
  +didTapInfoAnnotationLeftIconEvent: "BarcodeArInfoAnnotationListener.didTapInfoAnnotationLeftIcon", // "BarcodeArInfoAnnotationListener.didTapInfoAnnotationLeftIcon"
  +didTapInfoAnnotationEvent: "BarcodeArInfoAnnotationListener.didTapInfoAnnotation", // "BarcodeArInfoAnnotationListener.didTapInfoAnnotation"
  +didTapInfoAnnotationHeaderEvent: "BarcodeArInfoAnnotationListener.didTapInfoAnnotationHeader", // "BarcodeArInfoAnnotationListener.didTapInfoAnnotationHeader"
  +didTapInfoAnnotationFooterEvent: "BarcodeArInfoAnnotationListener.didTapInfoAnnotationFooter", // "BarcodeArInfoAnnotationListener.didTapInfoAnnotationFooter"
  +didTapPopoverEvent: "BarcodeArPopoverAnnotationListener.didTapPopover", // "BarcodeArPopoverAnnotationListener.didTapPopover"
  +didTapPopoverButtonEvent: "BarcodeArPopoverAnnotationListener.didTapPopoverButton", // "BarcodeArPopoverAnnotationListener.didTapPopoverButton"
|};

declare var BarcodeArFilterEvents: {|
  +filterBarcodes: "BarcodeArFilter.filterBarcodes", // "BarcodeArFilter.filterBarcodes"
|};

declare var BarcodeArAugmentationsEvents: {|
  +evicted: "BarcodeArAugmentations.evicted", // "BarcodeArAugmentations.evicted"
|};

declare var BarcodeArEvents: {|
  +didUpdateSession: "BarcodeArListener.didUpdateSession", // "BarcodeArListener.didUpdateSession"
|};
declare type BarcodeArViewProxy = {
  $createBarcodeArView(x: {
    viewId: number,
    viewJson: string,
    ...
  }): Promise<void>,
  $removeBarcodeArView(x: {
    viewId: number,
    ...
  }): Promise<void>,
  $setArViewPositionAndSize(x: {
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean,
    ...
  }): Promise<void>,
  ...
} & BarcodeProxy;
declare class BarcodeArViewController
  mixins BaseController<BarcodeArViewProxy>
{
  static forBarcodeArView(
    barcodeAr: BarcodeArViewControllerModeHost,
    baseView: BarcodeArViewControllerViewHost
  ): BarcodeArViewController;
  constructor(): this;
  dispose(): Promise<void>;
  createNativeView(): Promise<void>;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  registerModeListener(): Promise<void>;
  unregisterModeListener(viewId?: number): Promise<void>;
  registerUiListener(): Promise<void>;
  unregisterUiListener(viewId?: number): Promise<void>;
  registerAnnotationProvider(): Promise<void>;
  unregisterAnnotationProvider(viewId?: number): Promise<void>;
  registerHighlightProvider(): Promise<void>;
  registerCustomHighlightCreateEvent(
    onCreate: (barcode: Barcode, barcodeId: string) => void
  ): () => void;
  registerCustomHighlightUpdateEvent(
    onUpdate: (centerPosition: Point, barcodeId: string) => void,
    barcodeId: string
  ): () => void;
  registerCustomHighlightHideEvent(
    onHide: (barcodeId: string) => void,
    barcodeId: string
  ): () => void;
  registerCustomHighlightShowEvent(
    onShow: (barcodeId: string) => void,
    barcodeId: string
  ): () => void;
  registerCustomHighlightDisposeEvent(
    onDispose: (barcodeId: string) => void
  ): () => void;
  subscribeForCustomHighlightEvents(): void;
  unsubscribeFromCustomHighlightEvents(): void;
  onCustomHighlightClicked(barcodeId: string): Promise<void>;
  registerCustomAnnotationCreateEvent(
    onCreate: (barcode: Barcode, barcodeId: string, threshold?: number) => void
  ): () => void;
  registerCustomAnnotationUpdateEvent(
    onUpdate: (centerPosition: Point, barcodeId: string) => void,
    barcodeId: string,
    threshold?: number
  ): () => void;
  registerCustomAnnotationHideEvent(
    onHide: (barcodeId: string) => void,
    barcodeId: string,
    threshold?: number
  ): () => void;
  registerCustomAnnotationShowEvent(
    onShow: (barcodeId: string) => void,
    barcodeId: string,
    threshold?: number
  ): () => void;
  registerCustomAnnotationDisposeEvent(
    onDispose: (barcodeId: string, threshold?: number) => void
  ): () => void;
  subscribeForCustomAnnotationEvents(): void;
  unsubscribeFromCustomAnnotationEvents(): void;
  unregisterHighlightProvider(viewId?: number): Promise<void>;
  registerBarcodeFilter(): Promise<void>;
  unregisterBarcodeFilter(viewId?: number): Promise<void>;
  start(): Promise<void>;
  stop(): Promise<void>;
  pause(): Promise<void>;
  show(): Promise<void>;
  hide(): Promise<void>;
  update(): Promise<void>;
  removeNativeView(viewId?: number): Promise<void>;
  removeOrphanedNativeView(viewId: number): Promise<void>;
  reset(): Promise<void>;
  updateMode(): Promise<void>;
  applyNewSettings(settings: BarcodeArSettings): Promise<void>;
  updateFeedback(feedbackJson: string): Promise<void>;
  isViewCreated: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare class BarcodeArFeedback mixins DefaultSerializeable {
  static barcodeArDefaults: any;

  /**
   * Returns a Barcode AR feedback with default configuration:
   *
   * - default beep sound is loaded,
   * - beeping for the success event is enabled,
   * - vibration for the success event is enabled.
   * @since 7.1.0
   */
  static defaultFeedback: BarcodeArFeedback;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  scanned: Feedback$1;
  -scanned: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  tapped: Feedback$1;
  -tapped: any;

  /**
   * Empty constructor. Constructs a new feedback that will not emit any sound, nor vibration.
   * @since 7.1.0
   */
  constructor(): this;
}
declare interface BarcodeArFeedbackJSON {
  scanned: Feedback$1;
  tapped: Feedback$1;
}
declare interface PrivateBarcodeArFeedback {
  controller: BarcodeArViewController | null;
}
/**
 * Listener interface for BarcodeAr.
 * @since 7.1.0
 */
declare interface BarcodeArListener {
  /**
   * Invoked whenever the session has been updated.
   * @since 7.1.0
   */
  didUpdateSession?: (
    barcodeAr: BarcodeAr,
    session: BarcodeArSession,
    getFrameData: () => Promise<FrameData>
  ) => Promise<void>;
}
/**
 * Capture mode that implements Barcode AR.
 * @since 7.1.0
 */
declare class BarcodeAr mixins DefaultSerializeable {
  controller: any;
  -controller: any;
  static barcodeArDefaults: any;

  /**
   * Returns the recommended camera settings for use with Barcode AR.
   * @since 7.6.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;

  /**
   * Constructs a new BarcodeAr instance with the provided settings.
   * @since 7.6.0
   */
  constructor(settings: BarcodeArSettings): this;

  /**
   * Asynchronously applies the new settings to the barcode scanner. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 7.1.0
   */
  applySettings(settings: BarcodeArSettings): Promise<void>;

  /**
   * Adds a listener to receive Barcode AR events.
   *
   * In case the same listener is already observing this instance, calling this method will not add the listener again.
   * @since 7.1.0
   */
  addListener(listener: BarcodeArListener): void;

  /**
   * Removes a previously added listener from this BarcodeAr instance.
   *
   * In case the listener is not currently observing this instance, calling this method has no effect.
   * @since 7.1.0
   */
  removeListener(listener: BarcodeArListener): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  setBarcodeFilter(filter: BarcodeArFilter | null): Promise<void>;
  toJSON(): BarcodeAr$1;
  _context: any;
  -_context: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  feedback: BarcodeArFeedback;
  -feedback: any;
}
declare interface PrivateBarcodeAr {
  _context: DataCaptureContext | null;
  listeners: BarcodeArListener[];
  isInListenerCallback: boolean;
  didChange: () => Promise<void>;
  subscribeNativeListeners: () => void;
  unsubscribeNativeListeners: () => void;
  controller: BarcodeArViewController | null;
}
/**
 * An object used to retrieve the annotations for scanned barcodes.
 * @since 7.1.0
 */
declare interface BarcodeArAnnotationProvider {
  /**
   * Asks the provider for an annotation to display for the given barcode. If *null* is provided, no annotation will be shown.
   * @since 7.1.0
   */
  annotationForBarcode(barcode: Barcode): Promise<BarcodeArAnnotation | null>;
}
/**
 * A type of highlight that draws circles on top of barcodes. Highlight styles are customizable. Here are some examples:
 *
 * |  |  |  |
 * | --- | --- | --- |
 * | *Dot preset.* | *Icon preset.* | *Icon preset with different border color.* |
 * @since 7.1.0
 */
declare class BarcodeArCircleHighlight
  mixins Observable
  implements BarcodeArHighlight
{
  static barcodeArDefaults: any;

  /**
   * Creates a new instance with default values for the specified preset.
   * @since 7.1.0
   */
  constructor(
    barcode: Barcode,
    preset: $Values<typeof BarcodeArCircleHighlightPreset>
  ): this;

  /**
   * The barcode instance for the annotation.
   * @since 7.1.0
   */
  barcode: Barcode;

  /**
   * The brush used for visualizing a recognized barcode in the UI. By default, the brush has a blue fill color with 45% alpha, blue stroke and a stroke width of 2.
   * @since 7.1.0
   */
  brush: Brush$1;
  -brush: any;

  /**
   * The icon used for visualizing a recognized barcode in the UI.
   * @since 7.1.0
   */
  icon: ScanditIcon | null;
  -icon: any;

  /**
   * The size of the circle highlight in device-independent pixels. Minimum value is 18. If specified value is less than the minimum value, it will be coerced to the minimum value.
   * @since 7.1.0
   */
  size: number;
  -size: any;

  /**
   * Whether the highlight is showing a pulsing animation.
   * @since 8.6.0
   */
  isPulsing: boolean;
  -isPulsing: any;
}
/**
 * An object used to retrieve the highlights for scanned barcodes.
 * @since 7.1.0
 */
declare interface BarcodeArHighlightProvider {
  /**
   * Asks the provider for a highlight to display for the given barcode. If *null* is provided, no highlight will be shown.
   * @since 7.1.0
   */
  highlightForBarcode(barcode: Barcode): Promise<BarcodeArHighlight | null>;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare class BarcodeArInfoAnnotationBodyComponent mixins Observable {
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance of the body component.
   * @since 8.6.0
   */
  constructor(): this;

  /**
   * Whether the right icon is tappable. Default is *true*.
   * @since 7.1.0
   */
  isRightIconTappable: boolean;
  -isRightIconTappable: any;

  /**
   * Whether the left icon is tappable. Default is *true*.
   * @since 7.1.0
   */
  isLeftIconTappable: boolean;
  -isLeftIconTappable: any;

  /**
   * The icon displayed on the right side of the component. If *null*, no button is shown. The default value is *null*.
   * @since 7.1.0
   */
  rightIcon: ScanditIcon | null;
  -rightIcon: any;

  /**
   * The icon displayed on the left side of the component. If *null*, no button is shown. The default value is *null*.
   * @since 7.1.0
   */
  leftIcon: ScanditIcon | null;
  -leftIcon: any;

  /**
   * The text shown in the component.
   * @since 7.1.0
   */
  text: string | null;
  -text: any;

  /**
   * The text alignment. The default value is center.
   * @since 7.1.0
   */
  textAlign: $Values<typeof TextAlignment>;
  -textAlign: any;

  /**
   * The color of the text. The default value is #121619.
   * @since 7.1.0
   */
  textColor: Color$1;
  -textColor: any;

  /**
   * The size of the text. Default is 14 scale-independent pixels.
   * @since 7.1.0
   */
  textSize: number;
  -textSize: any;

  /**
   * The font used for the text.
   * @since 7.1.0
   */
  fontFamily: $Values<typeof FontFamily>;
  -fontFamily: any;
}
/**
 * The listener for the info annotation.
 * @since 7.1.0
 */
declare interface BarcodeArInfoAnnotationListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTapHeader(annotation: BarcodeArInfoAnnotation): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTapFooter(annotation: BarcodeArInfoAnnotation): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTapLeftIcon(
    annotation: BarcodeArInfoAnnotation,
    component: BarcodeArInfoAnnotationBodyComponent,
    componentIndex: number
  ): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTapRightIcon(
    annotation: BarcodeArInfoAnnotation,
    component: BarcodeArInfoAnnotationBodyComponent,
    componentIndex: number
  ): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTap(annotation: BarcodeArInfoAnnotation): void;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare class BarcodeArInfoAnnotationHeader mixins Observable {
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance of the info annotation header.
   * @since 7.1.0
   */
  constructor(): this;

  /**
   * The text. Default is *null*.
   * @since 7.1.0
   */
  text: string | null;
  -text: any;

  /**
   * The icon. Default is *null*.
   * @since 7.1.0
   */
  icon: ScanditIcon | null;
  -icon: any;

  /**
   * The size of the text. Default is 16 scale-independent pixels.
   * @since 7.1.0
   */
  textSize: number;
  -textSize: any;

  /**
   * The color of the text. Default is #000000.
   * @since 7.1.0
   */
  textColor: Color$1 | null;
  -textColor: any;

  /**
   * The background color. Default is #00FFFF.
   * @since 7.1.0
   */
  backgroundColor: Color$1 | null;
  -backgroundColor: any;

  /**
   * The font used for the text.
   * @since 7.1.0
   */
  fontFamily: $Values<typeof FontFamily>;
  -fontFamily: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare class BarcodeArInfoAnnotationFooter mixins Observable {
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance of the info annotation footer.
   * @since 7.1.0
   */
  constructor(): this;

  /**
   * The text. Default is *null*.
   * @since 7.1.0
   */
  text: string | null;
  -text: any;

  /**
   * The icon. Default is *null*.
   * @since 7.1.0
   */
  icon: ScanditIcon | null;
  -icon: any;

  /**
   * The size of the text. Default is 16 scale-independent pixels.
   * @since 7.1.0
   */
  textSize: number;
  -textSize: any;

  /**
   * The color of the text. Default is #FFFFFF.
   * @since 7.1.0
   */
  textColor: Color$1 | null;
  -textColor: any;

  /**
   * The background color. Default is #000000.
   * @since 7.1.0
   */
  backgroundColor: Color$1 | null;
  -backgroundColor: any;

  /**
   * The font used for the text.
   * @since 7.1.0
   */
  fontFamily: $Values<typeof FontFamily>;
  -fontFamily: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.1.0
 */
declare class BarcodeArInfoAnnotation
  mixins Observable
  implements BarcodeArAnnotation
{
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance with the given barcode.
   * @since 7.1.0
   */
  constructor(barcode: Barcode): this;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  anchor: $Values<typeof BarcodeArInfoAnnotationAnchor>;
  -anchor: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  annotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>;
  -annotationTrigger: any;

  /**
   * The background color. The default value is #CCFFFFFF.
   * @since 7.1.0
   */
  backgroundColor: Color$1;
  -backgroundColor: any;

  /**
   * The barcode instance for the annotation.
   * @since 7.1.0
   */
  barcode: Barcode;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  body: ReadonlyArray<BarcodeArInfoAnnotationBodyComponent>;
  -body: any;

  /**
   * The annotation footer. The default value is *null*.
   * @since 7.1.0
   */
  footer: BarcodeArInfoAnnotationFooter | null;
  -footer: any;

  /**
   * Whether the annotation has a tip. The default value is *true*.
   * @since 7.1.0
   */
  hasTip: boolean;
  -hasTip: any;

  /**
   * The annotation header. The default value is *null*.
   * @since 7.1.0
   */
  header: BarcodeArInfoAnnotationHeader | null;
  -header: any;

  /**
   * If *false*, each individual element within the annotation (header, footer, icons in body components) is tappable. If *true*, the entire annotation is tappable.
   * @since 7.1.0
   */
  isEntireAnnotationTappable: boolean;
  -isEntireAnnotationTappable: any;

  /**
   * An object that receives notifications for UI-related events.
   * @since 7.1.0
   */
  listener: BarcodeArInfoAnnotationListener | null;
  -listener: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  width: $Values<typeof BarcodeArInfoAnnotationWidthPreset>;
  -width: any;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.2.0
 */
declare class BarcodeArResponsiveAnnotation
  mixins Observable
  implements BarcodeArAnnotation
{
  static barcodeArDefaults: any;

  /**
   * Constructs a new responsive annotation whose displayed variation depends on the barcode's area
   * relative to the view. Each key is the area-ratio upper bound (in the range (0.0, 1.0]) at or
   * below which the associated annotation is shown; ranges are evaluated from far to close. A null
   * value suppresses the annotation in that range. Keys outside (0.0, 1.0] are dropped with a
   * warning.
   *
   * Constructs a new responsive annotation with the given barcode and annotation variations.
   * @since 8.2.0
   */
  constructor(
    barcode: Barcode,
    annotationsByThreshold: { [key: number]: BarcodeArAnnotation | null, ... }
  ): this;

  /**
   * @deprecated Use the constructor that accepts an annotationsByThreshold map instead. Maps to
   * `{ [defaultResponsiveAnnotationThreshold]: farAway, 1.0: closeUp }`. Will be removed in 9.0.
   */
  constructor(
    barcode: Barcode,
    closeUp: BarcodeArInfoAnnotation | null,
    farAway: BarcodeArInfoAnnotation | null
  ): this;

  /**
   * The annotations keyed by the area-ratio upper bound (in (0.0, 1.0]) at or below which each is
   * shown. A null value means no annotation is shown in that range.
   *
   * The annotations keyed by the area-ratio upper bound (in (0.0, 1.0]) at or below which each is shown, with *null* for a range that shows nothing. Keys passed to the initializer outside (0.0, 1.0] are dropped.
   * @since 8.7.0
   */
  annotationsByThreshold: { [key: number]: BarcodeArAnnotation | null, ... };

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   * @deprecated Use annotationsByThreshold instead. Will be removed in 9.0.
   */
  closeUpAnnotation: BarcodeArInfoAnnotation | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   * @deprecated Use annotationsByThreshold instead. Will be removed in 9.0.
   */
  farAwayAnnotation: BarcodeArInfoAnnotation | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  annotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>;
  -annotationTrigger: any;

  /**
   * The barcode instance for the annotation.
   * @since 8.2.0
   */
  barcode: Barcode;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   * @deprecated Use annotationsByThreshold instead. Will be removed in 9.0.
   */
  -threshold: any;

  /**
   * @deprecated Use annotationsByThreshold instead. Will be removed in 9.0.
   */
  threshold: number;
  toJSON(): { [key: string]: any };
}
/**
 * @since 7.1.0
 */
declare class BarcodeArPopoverAnnotationButton mixins Observable {
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance with the given icon and text.
   * @since 7.1.0
   */
  constructor(icon: ScanditIcon, text: string): this;

  /**
   * Whether the button is enabled. Default is *true*.
   * @since 8.6.0
   */
  enabled: boolean;
  -enabled: any;

  /**
   * The color of the text. Default is #3D4852.
   * @since 7.1.0
   */
  textColor: Color$1;
  -textColor: any;

  /**
   * The size of the text. Default is 10 scale-independent pixels.
   * @since 7.1.0
   */
  textSize: number;
  -textSize: any;

  /**
   * The font used for the text.
   * @since 7.1.0
   */
  fontFamily: $Values<typeof FontFamily>;
  -fontFamily: any;

  /**
   * The icon provided in the constructor.
   * @since 7.1.0
   */
  icon: ScanditIcon;

  /**
   * The text provided in the constructor.
   * @since 7.1.0
   */
  text: string;
}
/**
 * The listener for the popover annotation.
 * @since 7.1.0
 */
declare interface BarcodeArPopoverAnnotationListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTapButton?: (
    popover: BarcodeArPopoverAnnotation,
    button: BarcodeArPopoverAnnotationButton,
    buttonIndex: number
  ) => void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  didTap?: (popover: BarcodeArPopoverAnnotation) => void;
}
/**
 * An annotation comprising a set of buttons, each containing an icon and text, which appears only when the user taps on the corresponding barcode highlight.
 * @since 7.1.0
 */
declare class BarcodeArPopoverAnnotation
  mixins Observable
  implements BarcodeArAnnotation
{
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance with the given buttons and barcode.
   * @since 7.1.0
   */
  constructor(
    barcode: Barcode,
    buttons: BarcodeArPopoverAnnotationButton[]
  ): this;

  /**
   * Returns the barcode provided in the constructor.
   * @since 7.1.0
   */
  barcode: Barcode;

  /**
   * If *false* each individual button in the popover is tappable. If *true* the entire popover is tappable. Default is *false*.
   * @since 7.1.0
   */
  isEntirePopoverTappable: boolean;
  -isEntirePopoverTappable: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  anchor: $Values<typeof BarcodeArPopoverAnnotationAnchor>;
  -anchor: any;

  /**
   * An object that receives notifications for UI-related events, such as tapping on a button.
   * @since 7.1.0
   */
  listener: BarcodeArPopoverAnnotationListener | null;
  -listener: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  annotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>;
  -annotationTrigger: any;

  /**
   * Returns the buttons provided in the constructor.
   * @since 7.1.0
   */
  buttons: ReadonlyArray<BarcodeArPopoverAnnotationButton>;
}
/**
 * A type of highlight that draws rectangles on top of barcodes. Highlight styles are customizable. Here are some examples:
 *
 * |  |  |
 * | --- | --- |
 * | *Default style.* | *Customized brush and icon.* |
 * @since 7.1.0
 */
declare class BarcodeArRectangleHighlight
  mixins Observable
  implements BarcodeArHighlight
{
  static barcodeArDefaults: any;

  /**
   * Creates a new instance with default values.
   * @since 7.1.0
   */
  constructor(barcode: Barcode): this;

  /**
   * The barcode instance for the annotation.
   * @since 7.1.0
   */
  barcode: Barcode;

  /**
   * The brush used for visualizing a recognized barcode in the UI. By default, the brush has a blue fill color with 45% alpha, blue stroke and a stroke width of 2.
   * @since 7.1.0
   */
  brush: Brush$1;
  -brush: any;

  /**
   * The icon used for visualizing a recognized barcode in the UI. Is *null* by default.
   * @since 7.1.0
   */
  icon: ScanditIcon | null;
  -icon: any;
}
/**
 * A tooltip annotation that toggles between collapsed and expanded states upon tap. In the collapsed state, only the icon is visible. In the expanded state, both the icon and text are displayed.
 *
 * |  |  |
 * | --- | --- |
 * | *Collapsed state.* | *Expanded state.* |
 * @since 7.1.0
 */
declare class BarcodeArStatusIconAnnotation
  mixins Observable
  implements BarcodeArAnnotation
{
  static barcodeArDefaults: any;

  /**
   * Constructs a new instance of this class.
   * @since 7.1.0
   */
  constructor(barcode: Barcode): this;

  /**
   * The barcode instance for the annotation.
   * @since 7.1.0
   */
  barcode: Barcode;

  /**
   * Whether the status icon has a tip. Default is *true*.
   * @since 7.1.0
   */
  hasTip: boolean;
  -hasTip: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  icon: ScanditIcon;
  -icon: any;

  /**
   * The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If *null*, the status icon doesn’t expand on tap. Default is *null*.
   * @since 7.1.0
   */
  text: string | null;
  -text: any;

  /**
   * The color of the text. Default is #121619.
   * @since 7.1.0
   */
  textColor: Color$1;
  -textColor: any;

  /**
   * The annotation background color. Default is #FFFFFF.
   * @since 7.1.0
   */
  backgroundColor: Color$1;
  -backgroundColor: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  annotationTrigger: $Values<typeof BarcodeArAnnotationTrigger>;
  -annotationTrigger: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  anchor: $Values<typeof BarcodeArStatusIconAnnotationAnchor>;
  -anchor: any;
}
/**
 * @since 7.1.0
 */
declare class BarcodeArViewSettings mixins DefaultSerializeable {
  static barcodeArDefaults: any;

  /**
   * Constructs a new Barcode AR view settings to use when creating an instance of BarcodeArView.
   * @since 7.1.0
   */
  constructor(): this;

  /**
   * Indicates whether the feedback should have sound enabled.
   *
   * Default is *true*.
   * @since 7.1.0
   */
  soundEnabled: boolean;
  -soundEnabled: any;

  /**
   * Indicates whether the feedback should have haptics enabled.
   *
   * Default is *true*.
   * @since 7.1.0
   */
  hapticEnabled: boolean;
  -hapticEnabled: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  defaultCameraPosition: $Values<typeof CameraPosition>;
  -defaultCameraPosition: any;
}
/**
 * @since 7.1.0
 */
declare interface BarcodeArViewUiListener {
  /**
   * Callback method that is called when a barcode highlight is tapped in the view.
   * @since 7.1.0
   */
  didTapHighlightForBarcode(
    barcodeAr: BarcodeAr,
    barcode: Barcode,
    highlight: BarcodeArHighlight
  ): void;
}
/**
 * Barcode AR comes with a ready-to-use UI that allows highlighting barcodes and displaying additional information over them. The BarcodeArView integrates with any app in just a few lines of code.
 * @since 7.1.0
 */
declare interface BarcodeArView {}
declare class BaseBarcodeArView
  mixins DefaultSerializeable
  implements BarcodeArViewControllerViewHost
{
  nativeView: BarcodeArView | null;
  static barcodeArDefaults: any;

  /**
   * Resolves true once this view's native counterpart exists, false if it
   * never will (creation failed, timed out, or the view was torn down).
   *
   * Callers that arrive before creation has been kicked off park until it is,
   * bounded by VIEW_CREATION_PRE_BEGIN_TIMEOUT_MS; once a creation cycle is in
   * flight the bound is VIEW_CREATION_TIMEOUT_MS. Reachable on Cordova/Capacitor
   * when a view method runs before connectToElement().
   * @internal Not part of the documented API surface: it exists so the base
   * view's own action methods can await creation, and is public only because
   * the framework plugins reach it across package boundaries.
   */
  whenViewCreated(): Promise<boolean>;
  constructor(
    context: DataCaptureContext,
    barcodeAr: BarcodeAr,
    nativeView?: BarcodeArView | null,
    barcodeArViewSettings?: BarcodeArViewSettings,
    cameraSettings?: CameraSettings$1,
    annotationProvider?: BarcodeArAnnotationProvider,
    highlightProvider?: BarcodeArHighlightProvider,
    uiListener?: BarcodeArViewUiListener
  ): this;
  dispose(): Promise<void>;
  createNativeView(viewId: number): Promise<void>;
  removeNativeView(): Promise<void>;
  viewId: number;
  barcodeArViewUiListener: BarcodeArViewUiListener | null;
  -barcodeArViewUiListener: any;
  annotationProvider: BarcodeArAnnotationProvider | null;
  -annotationProvider: any;
  highlightProvider: BarcodeArHighlightProvider | null;
  -highlightProvider: any;

  /**
   * @internal
   */
  hasUiListener(): boolean;

  /**
   * @internal
   */
  hasAnnotationProvider(): boolean;

  /**
   * @internal
   */
  hasHighlightProvider(): boolean;

  /**
   * @internal
   */
  notifyDidTapHighlightForBarcode(
    barcode: Barcode,
    highlight: BarcodeArHighlight
  ): void;

  /**
   * @internal
   */
  provideAnnotationForBarcode(
    barcode: Barcode
  ): Promise<BarcodeArAnnotation | null | void>;

  /**
   * @internal
   */
  provideHighlightForBarcode(
    barcode: Barcode
  ): Promise<BarcodeArHighlight | null | void>;
  registerCustomHighlightCreateEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomHighlightCreateEvent"
  >;
  registerCustomHighlightUpdateEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomHighlightUpdateEvent"
  >;
  registerCustomHighlightHideEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomHighlightHideEvent"
  >;
  registerCustomHighlightShowEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomHighlightShowEvent"
  >;
  registerCustomHighlightDisposeEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomHighlightDisposeEvent"
  >;
  subscribeForCustomHighlightEvents: $PropertyType<
    BarcodeArViewController,
    "subscribeForCustomHighlightEvents"
  >;
  unsubscribeFromCustomHighlightEvents: $PropertyType<
    BarcodeArViewController,
    "unsubscribeFromCustomHighlightEvents"
  >;
  onCustomHighlightClicked: $PropertyType<
    BarcodeArViewController,
    "onCustomHighlightClicked"
  >;
  registerCustomAnnotationCreateEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomAnnotationCreateEvent"
  >;
  registerCustomAnnotationUpdateEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomAnnotationUpdateEvent"
  >;
  registerCustomAnnotationHideEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomAnnotationHideEvent"
  >;
  registerCustomAnnotationShowEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomAnnotationShowEvent"
  >;
  registerCustomAnnotationDisposeEvent: $PropertyType<
    BarcodeArViewController,
    "registerCustomAnnotationDisposeEvent"
  >;
  subscribeForCustomAnnotationEvents: $PropertyType<
    BarcodeArViewController,
    "subscribeForCustomAnnotationEvents"
  >;
  unsubscribeFromCustomAnnotationEvents: $PropertyType<
    BarcodeArViewController,
    "unsubscribeFromCustomAnnotationEvents"
  >;
  context: DataCaptureContext;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  start(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  stop(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  pause(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  reset(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  show(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  hide(): Promise<void>;
  shouldShowTorchControl: boolean;
  -shouldShowTorchControl: any;
  torchControlPosition: $Values<typeof Anchor$1>;
  -torchControlPosition: any;
  shouldShowZoomControl: boolean;
  -shouldShowZoomControl: any;
  zoomControlPosition: $Values<typeof Anchor$1>;
  -zoomControlPosition: any;
  torchControlOffset: PointWithUnit | null;
  -torchControlOffset: any;
  zoomControlOffset: PointWithUnit | null;
  -zoomControlOffset: any;
  cameraSwitchControlOffset: PointWithUnit | null;
  -cameraSwitchControlOffset: any;
  macroModeControlOffset: PointWithUnit | null;
  -macroModeControlOffset: any;
  logoStyle: $Values<typeof LogoStyle$1>;
  -logoStyle: any;
  zoomControlOrientation: $Values<typeof ZoomSwitchOrientation>;
  -zoomControlOrientation: any;
  logoAnchor: $Values<typeof Anchor$1>;
  -logoAnchor: any;
  logoOffset: PointWithUnit;
  -logoOffset: any;
  shouldShowCameraSwitchControl: boolean;
  -shouldShowCameraSwitchControl: any;
  cameraSwitchControlPosition: $Values<typeof Anchor$1>;
  -cameraSwitchControlPosition: any;
  shouldShowMacroModeControl: boolean;
  -shouldShowMacroModeControl: any;
  macroModeControlPosition: $Values<typeof Anchor$1>;
  -macroModeControlPosition: any;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  toJSON(): {
    View: BarcodeArView$1,
    BarcodeAr: BarcodeAr$1,
    ...
  };
}
declare class BarcodeArSessionController mixins BaseController<BarcodeProxy> {
  constructor(viewId: number): this;
  $resetBarcodeArSession(): Promise<void>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare class BarcodeSelectionFeedback mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selection: Feedback$1;
  -selection: any;
  static barcodeSelectionDefaults: any;

  /**
   * Returns a barcode selection feedback with default configuration:
   *
   * - default click sound
   * - no vibration
   * @since 6.10.0
   */
  static default: BarcodeSelectionFeedback;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  constructor(): this;
}
/**
 * Contains information about barcode-selection-specific licensing.
 * @since 8.6.0
 */
declare class BarcodeSelectionLicenseInfo {
  /**
   * Which symbologies are licensed and can be used for barcode selection.
   * @since 8.6.0
   */
  licensedSymbologies: $Values<typeof Symbology>[];
  static fromJSON(json: {
    licensedSymbologies?: string[],
    ...
  }): BarcodeSelectionLicenseInfo;
}
/**
 * @internal
 */
declare interface BarcodeSelectionSessionControllerHost {
  getCount(barcode: Barcode): Promise<number>;
  reset(): Promise<void>;
  selectUnselectedBarcodes(): Promise<void>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare class BarcodeSelectionSession {
  /**
   * List of currently selected codes.
   * @since 6.10.0
   */
  selectedBarcodes: Barcode[];

  /**
   * List of codes that were newly selected in the last processed frame.
   * @since 6.10.0
   */
  newlySelectedBarcodes: Barcode[];

  /**
   * List of codes that were unselected in the last processed frame.
   * @since 6.10.0
   */
  newlyUnselectedBarcodes: Barcode[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  frameSequenceID: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  getCount(barcode: Barcode): Promise<number>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  reset(): Promise<void>;

  /**
   * Select all the unselected barcodes that are currently being tracked in this barcode selection session.
   * @since 8.7.0
   */
  selectUnselectedBarcodes(): Promise<void>;
}
declare interface BarcodeSelectionSessionJSON {
  selectedBarcodes: BarcodeJSON[];
  newlySelectedBarcodes: BarcodeJSON[];
  newlyUnselectedBarcodes: BarcodeJSON[];
  frameSequenceId: number;
}
/**
 * The BarcodeSelection listener is the main way for hooking into BarcodeSelection. It provides a callback that is invoked when the state of selected barcodes changes.
 * @since 6.10.0
 */
declare interface BarcodeSelectionListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  didUpdateSelection?: (
    barcodeSelection: BarcodeSelection,
    session: BarcodeSelectionSession,
    getFrameData: () => Promise<FrameData | null>
  ) => Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  didUpdateSession?: (
    barcodeSelection: BarcodeSelection,
    session: BarcodeSelectionSession,
    getFrameData: () => Promise<FrameData | null>
  ) => Promise<void>;
}
/**
 * Enum used to specify how freezing of the frame preview should be handled. Freezing the preview helps the user select multiple codes which might be difficult to do on a live preview where the codes constantly move around a bit.
 * @since 6.10.0
 */

declare var BarcodeSelectionFreezeBehavior: {|
  +Manual: "manual", // "manual"
  +ManualAndAutomatic: "manualAndAutomatic", // "manualAndAutomatic"
|};

/**
 * Enum used to specify what happens when the user taps a barcode.
 * @since 6.10.0
 */

declare var BarcodeSelectionTapBehavior: {|
  +ToggleSelection: "toggleSelection", // "toggleSelection"
  +RepeatSelection: "repeatSelection", // "repeatSelection"
|};

/**
 * Enum used to specify what happens when the user aims a barcode.
 * @since 8.7.0
 */

declare var BarcodeSelectionAimerBehavior: {|
  +ToggleSelection: "toggleSelection", // "toggleSelection"
  +RepeatSelection: "repeatSelection", // "repeatSelection"
|};

declare var BarcodeSelectionTypeName: {|
  +Aimer: "aimerSelection", // "aimerSelection"
  +Tap: "tapSelection", // "tapSelection"
|};

declare var BarcodeSelectionStrategyType: {|
  +Auto: "autoSelectionStrategy", // "autoSelectionStrategy"
  +Manual: "manualSelectionStrategy", // "manualSelectionStrategy"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare interface BarcodeSelectionStrategy {}
/**
 * Barcodes are selected automatically when aiming at them as soon as the intention is understood by our internal algorithms.
 * @since 6.10.0
 */
declare class BarcodeSelectionAutoSelectionStrategy
  mixins DefaultSerializeable
  implements BarcodeSelectionStrategy
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  static autoSelectionStrategy: BarcodeSelectionAutoSelectionStrategy;
}
/**
 * Barcodes are selected when aiming at them and tapping anywhere on the screen.
 * @since 6.10.0
 */
declare class BarcodeSelectionManualSelectionStrategy
  mixins DefaultSerializeable
  implements BarcodeSelectionStrategy
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  static manualSelectionStrategy: BarcodeSelectionManualSelectionStrategy;
}
declare class PrivateBarcodeSelectionStrategy {
  static fromJSON(json: {
    type: $Values<typeof BarcodeSelectionStrategyType>,
    ...
  }): BarcodeSelectionStrategy;
}
/**
 * [object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare interface BarcodeSelectionType {}
declare type BarcodeSelectionTypeJSON =
  | {
      type: typeof BarcodeSelectionTypeName.Aimer,
      selectionStrategy: $Values<typeof BarcodeSelectionStrategyType>,
      aimerBehavior?: $Values<typeof BarcodeSelectionAimerBehavior>,
      ...
    }
  | {
      type: typeof BarcodeSelectionTypeName.Tap,
      freezeBehavior: $Values<typeof BarcodeSelectionFreezeBehavior>,
      tapBehavior: $Values<typeof BarcodeSelectionTapBehavior>,
      ...
    };
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare class BarcodeSelectionTapSelection
  mixins DefaultSerializeable
  implements BarcodeSelectionType
{
  /**
   * [object Object],[object Object]
   * @since 6.10.0
   */
  freezeBehavior: $Values<typeof BarcodeSelectionFreezeBehavior>;

  /**
   * @since 6.10.0
   */
  tapBehavior: $Values<typeof BarcodeSelectionTapBehavior>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  static tapSelection: BarcodeSelectionTapSelection;
  static barcodeSelectionDefaults: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  static withFreezeBehaviorAndTapBehavior(
    freezeBehavior: $Values<typeof BarcodeSelectionFreezeBehavior>,
    tapBehavior: $Values<typeof BarcodeSelectionTapBehavior>
  ): BarcodeSelectionTapSelection;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare class BarcodeSelectionAimerSelection
  mixins DefaultSerializeable
  implements BarcodeSelectionType
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selectionStrategy: BarcodeSelectionStrategy;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  aimerBehavior: $Values<typeof BarcodeSelectionAimerBehavior>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  static aimerSelection: BarcodeSelectionAimerSelection;
  static barcodeSelectionDefaults: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  static withAimerBehavior(
    aimerBehavior: $Values<typeof BarcodeSelectionAimerBehavior>
  ): BarcodeSelectionAimerSelection;
  constructor(): this;
}
declare class PrivateBarcodeSelectionType {
  static fromJSON(json: BarcodeSelectionTypeJSON): BarcodeSelectionType;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare class BarcodeSelectionSettings mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  codeDuplicateFilter: number;

  /**
   * If true, when a single barcode is tracked it’s automatically selected. Defaults to *false*.
   * @since 6.10.0
   */
  singleBarcodeAutoDetection: boolean;

  /**
   * If false, selection through tap is disabled. Defaults to *true*. This property only has its effect when used with manual aimer selection.
   * @since 8.6.0
   */
  tapGestureForSelectionEnabled: boolean;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selectionType: BarcodeSelectionType;
  static barcodeSelectionDefaults: any;

  /**
   * Returns the set of enabled symbologies.
   * @since 6.10.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 6.10.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 6.10.0
   */
  getProperty(name: string): any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;
}
declare interface BarcodeSelectionListenerControllerHost {
  +modeId: number;
  +isEnabled: boolean;
}
declare var BarcodeSelectionListenerEvents: {|
  +didUpdateSelection: "BarcodeSelectionListener.didUpdateSelection", // "BarcodeSelectionListener.didUpdateSelection"
  +didUpdateSession: "BarcodeSelectionListener.didUpdateSession", // "BarcodeSelectionListener.didUpdateSession"
|};
declare class BarcodeSelectionListenerController
  mixins BaseController<BarcodeProxy>
{
  constructor(host: BarcodeSelectionListenerControllerHost): this;
  getCount(barcode: Barcode): Promise<number>;
  reset(): Promise<void>;
  selectUnselectedBarcodes(): Promise<void>;
  getFrameOrNull(
    frameId: string
  ): $Call<
    <R>((...args: any[]) => R) => R,
    $PropertyType<FrameDataController, "getFrameOrNull">
  >;
  handleDidUpdateSelection(
    data: { [key: string]: mixed, ... },
    notify: (session: BarcodeSelectionSession) => Promise<void>
  ): Promise<void>;
  handleDidUpdateSession(
    data: { [key: string]: mixed, ... },
    notify: (session: BarcodeSelectionSession) => Promise<void>
  ): Promise<void>;
  modeId: any;
}
declare interface BarcodeSelectionControllerModeHost {
  +modeId: number;
  toJSON(): BarcodeSelection$1;
}
declare class BarcodeSelectionController mixins BaseController<BarcodeProxy> {
  constructor(barcodeSelection: BarcodeSelectionControllerModeHost): this;
  unfreezeCamera(): Promise<void>;
  reset(): Promise<void>;
  selectAimedBarcode(): Promise<void>;
  unselectBarcodes(barcodes: Barcode[]): Promise<void>;
  setSelectBarcodeEnabled(barcode: Barcode, enabled: boolean): Promise<void>;
  increaseCountForBarcodes(barcodes: Barcode[]): Promise<void>;
  setModeEnabledState(enabled: boolean): Promise<void>;
  updateBarcodeSelectionMode(
    barcodeSelection: BarcodeSelectionControllerModeHost
  ): Promise<void>;
  applyBarcodeSelectionModeSettings(
    newSettings: BarcodeSelectionSettings
  ): Promise<void>;
  updateFeedback(feedbackJson: string): Promise<void>;
  getBarcodeSelectionLicenseInfo(): Promise<BarcodeSelectionLicenseInfo | null>;
  modeId: any;
}
/**
 * Data capture mode that implements barcode selection.
 *
 * Learn more on how to use Barcode Selection in our [Get Started](https://docs.scandit.com/sdks/react-native/barcode-selection/get-started) guide.
 * @since 6.10.0
 */
declare class BarcodeSelection
  mixins
    ModeBase<BarcodeSelectionController, BarcodeSelectionListenerController>,
    DataCaptureMode
{
  static barcodeSelectionDefaults: any;
  type: string;
  asHost: any;

  /**
   * Returns the recommended camera settings for use with barcode selection.
   * @since 7.6.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;
  createController(): BarcodeSelectionController;
  asListenerControllerHost: any;
  createListenerController(): BarcodeSelectionListenerController;

  /**
   * Constructs a new BarcodeSelection instance with the provided settings.
   * @since 7.6.0
   */
  constructor(settings: BarcodeSelectionSettings): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  context: DataCaptureContext | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  isEnabled: boolean;
  -isEnabled: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  feedback: BarcodeSelectionFeedback;
  -feedback: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  pointOfInterest: PointWithUnit | null;
  -pointOfInterest: any;

  /**
   * Asynchronously applies the new settings to the barcode selection. If the barcode selection is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the barcode selection is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 6.10.0
   */
  applySettings(settings: BarcodeSelectionSettings): Promise<void>;
  listeners: any;

  /**
   * Adds the listener to this barcode selection instance.
   *
   * In case the same listener is already observing this instance, calling this method will not add the listener again.
   * @since 6.10.0
   */
  addListener(listener: BarcodeSelectionListener): Promise<void>;

  /**
   * Removes a previously added listener from this barcode selection instance.
   *
   * In case the listener is not currently observing this instance, calling this method has no effect.
   * @since 6.10.0
   */
  removeListener(listener: BarcodeSelectionListener): Promise<void>;

  /**
   * Asynchronously resets the barcode selection session, effectively clearing the history of selected codes.
   * @since 6.10.0
   */
  reset(): Promise<void>;

  /**
   * Unfreeze the camera.
   * @since 6.10.0
   */
  unfreezeCamera(): Promise<void>;

  /**
   * Select the barcode being aimed at. Only use this with manual aimer selection.
   * @since 6.16.0
   */
  selectAimedBarcode(): Promise<void>;

  /**
   * Removes the barcodes from the list of selected barcodes.
   * @since 6.17.0
   */
  unselectBarcodes(barcodes: Barcode[]): Promise<void>;

  /**
   * Enables or disables the selection of a barcode.
   * @since 6.17.0
   */
  setSelectBarcodeEnabled(barcode: Barcode, enabled: boolean): Promise<void>;

  /**
   * Increments the count of how many times the given barcodes have been selected.
   * @since 6.17.0
   */
  increaseCountForBarcodes(barcodes: Barcode[]): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  getBarcodeSelectionLicenseInfo(): Promise<BarcodeSelectionLicenseInfo | null>;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.10.0
 */

declare var BarcodeSelectionBasicOverlayStyle: {|
  +Frame: "frame", // "frame"
  +Dot: "dot", // "dot"
|};

/**
 * Interface for applying custom brushes to recognized barcodes.
 * @since 6.17.0
 */
declare interface BarcodeSelectionBrushProvider {
  /**
   * Returns the brush to apply to the given barcode. A non-*null* brush returned by this method overrides any other brush set for the barcode.
   * @since 6.17.0
   */
  brushForBarcode?: (barcode: Barcode) => Brush$1 | null;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.10.0
 */
declare class BarcodeSelectionBasicOverlay
  mixins DefaultSerializeable, DataCaptureOverlay
{
  asHost: any;
  view: any;
  -view: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  trackedBrush: Brush$1;
  -trackedBrush: any;

  /**
   * The brush applied to the barcode that is currently being aimed at.
   * @since 6.10.0
   */
  aimedBrush: Brush$1;
  -aimedBrush: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  selectedBrush: Brush$1;
  -selectedBrush: any;

  /**
   * The brush applied to the barcodes for the short moment when they are being selected.
   * @since 6.10.0
   */
  selectingBrush: Brush$1;
  -selectingBrush: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  shouldShowScanAreaGuides: boolean;
  -shouldShowScanAreaGuides: any;

  /**
   * When set to *true*, this overlay will visualize some hints explaining how to use barcode selection.
   *
   * By default this property is *true*.
   * @since 6.10.0
   */
  shouldShowHints: boolean;
  -shouldShowHints: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.10.0
   */
  viewfinder: Viewfinder$1;

  /**
   * The overlay style. Defaults to Frame.
   * @since 6.10.0
   */
  style: $Values<typeof BarcodeSelectionBasicOverlayStyle>;

  /**
   * The overlay’s background color when in frozen state. This color will be on top of the video preview but below the highlights. Semitransparent black by default.
   * @since 8.7.0
   */
  frozenBackgroundColor: Color$1;
  -frozenBackgroundColor: any;
  static barcodeSelectionDefaults: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.6.0
   */
  constructor(
    mode: BarcodeSelection,
    style?: $Values<typeof BarcodeSelectionBasicOverlayStyle>
  ): this;

  /**
   * Returns the default tracked brush for the given style.
   * @since 8.7.0
   */
  static defaultTrackedBrushForStyle(
    style: $Values<typeof BarcodeSelectionBasicOverlayStyle>
  ): Brush$1;

  /**
   * Returns the default aimed brush for the given style.
   * @since 8.7.0
   */
  static defaultAimedBrushForStyle(
    style: $Values<typeof BarcodeSelectionBasicOverlayStyle>
  ): Brush$1;

  /**
   * Returns the default selected brush for the given style.
   * @since 8.7.0
   */
  static defaultSelectedBrushForStyle(
    style: $Values<typeof BarcodeSelectionBasicOverlayStyle>
  ): Brush$1;

  /**
   * Returns the default selecting brush for the given style.
   * @since 8.7.0
   */
  static defaultSelectingBrushForStyle(
    style: $Values<typeof BarcodeSelectionBasicOverlayStyle>
  ): Brush$1;

  /**
   * Sets the text of the hint which suggests to aim at a barcode to scan it.
   * @since 6.19.0
   */
  setTextForAimToSelectAutoHint(text: string): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  setTextForSelectOrDoubleTapToFreezeHint(text: string): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  setTextForTapToSelectHint(text: string): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  setTextForDoubleTapToUnfreezeHint(text: string): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  setTextForTapAnywhereToSelectHint(text: string): Promise<void>;

  /**
   * Clears all currently displayed visualizations for the on screen barcodes.
   *
   * This only applies to the currently displayed barcodes, the visualizations for the new ones will still appear.
   * @since 8.7.0
   */
  clearSelectedBarcodeBrushes(): Promise<void>;

  /**
   * Sets the brush provider for aimed barcode.
   * @since 6.17.0
   */
  setAimedBarcodeBrushProvider(
    brushProvider: BarcodeSelectionBrushProvider | null
  ): Promise<void>;

  /**
   * Sets the brush provider for tracked barcode.
   * @since 6.17.0
   */
  setTrackedBarcodeBrushProvider(
    brushProvider: BarcodeSelectionBrushProvider | null
  ): Promise<void>;
}
declare interface BarcodeSelectionOverlayControllerHost {
  +modeId: number;
  toJSON(): BarcodeSelectionBasicOverlay$1;
}
declare var BarcodeSelectionBrushProviderEvents: {|
  +brushForAimedBarcode: "BarcodeSelectionAimedBrushProvider.brushForBarcode", // "BarcodeSelectionAimedBrushProvider.brushForBarcode"
  +brushForTrackedBarcode: "BarcodeSelectionTrackedBrushProvider.brushForBarcode", // "BarcodeSelectionTrackedBrushProvider.brushForBarcode"
|};
declare class BarcodeSelectionOverlayController
  mixins BaseController<BarcodeProxy>
{
  constructor(overlay: BarcodeSelectionOverlayControllerHost): this;
  setTextForAimToSelectAutoHint(text: string): Promise<void>;
  clearSelectedBarcodeBrushes(): Promise<void>;
  setAimedBarcodeBrushProvider(
    brushProvider: BarcodeSelectionBrushProvider | null
  ): Promise<void>;
  setTrackedBarcodeBrushProvider(
    brushProvider: BarcodeSelectionBrushProvider | null
  ): Promise<void>;
  updateBarcodeSelectionBasicOverlay(
    overlay: BarcodeSelectionOverlayControllerHost
  ): Promise<void>;
  unsubscribeProviders(): Promise<void>;
  dispose(): void;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.17.0
 */
declare class BarcodeCountFeedback mixins DefaultSerializeable {
  static barcodeCountDefaults: any;

  /**
   * Returns a barcode count feedback with default configuration:
   *
   * - default beep sound is loaded,
   * - beeping for the success event is enabled,
   * - vibration for the success event is enabled,
   * - beeping for the failure event is enabled,
   * - vibration for the failure event is enabled.
   * @since 6.17.0
   */
  static default: BarcodeCountFeedback;

  /**
   * Empty constructor. Constructs a new feedback that will not emit any sound, nor vibration.
   * @since 7.1.0
   */
  static emptyFeedback: BarcodeCountFeedback;
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  success: Feedback$1;
  -success: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  failure: Feedback$1;
  -failure: any;
}
declare interface BarcodeCountFeedbackJSON {
  success: Feedback$1;
  failure: Feedback$1;
}
/**
 * @since 6.17.0
 */
declare class BarcodeCountSettings mixins DefaultSerializeable {
  static barcodeCountDefaults: any;

  /**
   * Creates a new barcode count settings instance. This initializer allows enabling or disabling the scan preview at construction. When using the default initializer, scan preview is disabled by default.
   *
   * Scan preview allows you to see the barcodes that are being detected before pressing the shutter button, but these won’t be added to the scanning result yet. Pressing the shutter button will scan the barcodes that are visible in the preview.
   *
   * When scan preview is enabled, basic scanning, scanning against a list, status mode, group scanning, and the not-in-list action are supported. Filtering is not supported with scan preview.
   *
   * The Barcode Count scan preview API is still in beta and may change in future versions of Scandit Data Capture SDK.
   * @since 6.17.0
   */
  constructor(scanPreviewEnabled?: boolean): this;

  /**
   * Declares whether or not the barcodes to be tracked are expected to be unique. If enabled optimizations can be used to improve Barcode Count.
   *
   * Default value is *false*.
   *
   * Do not enable this if you are expecting to scan multiple barcodes with the same content within one batch.
   * @since 6.17.0
   */
  expectsOnlyUniqueBarcodes: boolean;
  -expectsOnlyUniqueBarcodes: any;

  /**
   * Use this property to enable barcode mapping.
   *
   * Default value is *false*.
   *
   * The Barcode Count mapping API is still in beta and may change in future versions of Scandit Data Capture SDK.
   * @since 6.19.0
   */
  mappingEnabled: boolean;
  -mappingEnabled: any;

  /**
   * Declares whether or not the mode will be disabled automatically when the provided capture list has been completed. If no list has been provided, this has no effect.
   *
   * Default value is *false*.
   * @since 8.3.0
   */
  disableModeWhenCaptureListCompleted: boolean;
  -disableModeWhenCaptureListCompleted: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  clusteringMode: $Values<typeof ClusteringMode>;
  -clusteringMode: any;

  /**
   * Returns the state of the scan preview. Can only be set during initialization.
   * @since 8.3.0
   */
  scanPreviewEnabled: boolean;

  /**
   * Returns the current settings for barcode filtering.
   * @since 6.17.0
   */
  filterSettings: BarcodeFilterSettings;

  /**
   * Returns the set of enabled symbologies.
   * @since 6.17.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 6.17.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 6.17.0
   */
  getProperty(name: string): any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.17.0
 */
declare class BarcodeCountSession mixins DefaultSerializeable {
  constructor(): this;

  /**
   * A list containing all currently recognized barcodes.
   * @since 7.0.0
   */
  recognizedBarcodes: Barcode[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  additionalBarcodes: Barcode[];

  /**
   * A list containing all currently recognized clusters.
   * @since 8.3.0
   */
  recognizedClusters: Cluster[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  frameSequenceID: number;

  /**
   * Resets the barcode count session, effectively clearing the history of recognized barcodes. This function should only be called inside the listeners’ callback.
   * @since 6.17.0
   */
  reset(): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  getSpatialMap(): Promise<BarcodeSpatialGrid | null>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  getSpatialMapWithHints(
    expectedNumberOfRows: number,
    expectedNumberOfColumns: number
  ): Promise<BarcodeSpatialGrid | null>;
}
declare interface BarcodeCountSessionJSON {
  recognizedBarcodes: BarcodeJSON[];
  additionalBarcodes: Barcode[];
  recognizedClusters?: any[];
  frameSequenceId: number;
}
/**
 * The BarcodeCount listener is the main way for hooking into BarcodeCount. It provides a callback that is invoked when the state of tracked barcodes changes.
 * @since 6.17.0
 */
declare interface BarcodeCountListener {
  /**
   * Invoked once scanning phase is over.
   * @since 6.17.0
   */
  didScan?: (
    barcodeCount: BarcodeCount,
    session: BarcodeCountSession,
    getFrameData: () => Promise<FrameData | null>
  ) => Promise<void>;

  /**
   * Invoked whenever the session has been updated.
   * @since 8.3.0
   */
  onSessionUpdated?: (
    barcodeCount: BarcodeCount,
    session: BarcodeCountSession,
    getFrameData: () => Promise<FrameData | null>
  ) => Promise<void>;
}
/**
 * The capture list session contains all the barcodes recognised so far, and how they match against the target list.
 * @since 6.17.0
 */
declare class BarcodeCountCaptureListSession mixins DefaultSerializeable {
  /**
   * A list of tracked barcodes that have been correctly matched to the target data provided in the list.
   * @since 6.17.0
   */
  correctBarcodes: TrackedBarcode[];

  /**
   * A list of tracked barcodes that have been correctly scanned, but that don’t match any of the ones provided in the list.
   * @since 6.17.0
   */
  wrongBarcodes: TrackedBarcode[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  missingBarcodes: TargetBarcode[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  additionalBarcodes: Barcode[];

  /**
   * A list of tracked barcodes that have been marked as accepted.
   * @since 7.1.0
   */
  acceptedBarcodes: TrackedBarcode[];

  /**
   * A list of tracked barcodes that have been marked as rejected.
   * @since 7.1.0
   */
  rejectedBarcodes: TrackedBarcode[];
  constructor(): this;
}
declare interface BarcodeCountCaptureListSessionJSON {
  correctBarcodes: TrackedBarcode[];
  wrongBarcodes: TrackedBarcode[];
  missingBarcodes: TargetBarcode[];
  additionalBarcodes: Barcode[];
  acceptedBarcodes: TrackedBarcode[];
  rejectedBarcodes: TrackedBarcode[];
}
declare interface PrivateBarcodeCountCaptureListSession {
  fromJSON(
    json: BarcodeCountCaptureListSessionJSON
  ): BarcodeCountCaptureListSession;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.17.0
 */
declare interface BarcodeCountCaptureListListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  didUpdateSession?: (
    barcodeCountCaptureList: BarcodeCountCaptureList,
    session: BarcodeCountCaptureListSession
  ) => void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  didCompleteCaptureList?: (
    barcodeCountCaptureList: BarcodeCountCaptureList,
    session: BarcodeCountCaptureListSession
  ) => void;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.17.0
 */
declare class BarcodeCountCaptureList {
  /**
   * Constructs a new capture list component and sets an initial list of target barcodes to search for. This list may be null.
   * @since 6.17.0
   */
  static create(
    listener: BarcodeCountCaptureListListener,
    targetBarcodes: TargetBarcode[]
  ): BarcodeCountCaptureList;
  constructor(): this;

  /**
   * Sets a barcode data transformer for this instance of BarcodeCountCaptureList. The transformer will be applied to transform the barcode data before matching to the target barcodes.
   * @since 8.3.0
   */
  setBarcodeDataTransformer(transformer: BarcodeDataTransformer | null): void;
}
declare interface PrivateBarcodeCountCaptureList {
  targetBarcodes: TargetBarcode[];
  listener: BarcodeCountCaptureListListener;
  _barcodeDataTransformer: BarcodeDataTransformer | null;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.7.0
 */
declare class BarcodeCountSessionSnapshot mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  recognizedBarcodes: Barcode[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  additionalBarcodes: Barcode[];

  /**
   * A list containing the clusters that were recognized when the snapshot was taken.
   * @since 8.7.0
   */
  recognizedClusters: Cluster[];

  /**
   * The identifier of the frame sequence at the time of the snapshot.
   * @since 8.7.0
   */
  frameSequenceId: number;
  constructor(): this;
}
declare interface BarcodeCountSessionSnapshotJSON {
  recognizedBarcodes?: BarcodeJSON[];
  additionalBarcodes?: BarcodeJSON[];
  recognizedClusters?: ClusterJSON[];
  frameSequenceId?: number;
}
declare interface PrivateBarcodeCountSessionSnapshot {
  fromJSON(json: BarcodeCountSessionSnapshotJSON): BarcodeCountSessionSnapshot;
}
declare interface BarcodeCountViewControllerUiListenerHost {
  didTapListButton?: (
    view: mixed,
    snapshot: BarcodeCountSessionSnapshot | null
  ) => void;
  didTapExitButton?: (
    view: mixed,
    snapshot: BarcodeCountSessionSnapshot | null
  ) => void;
  didTapSingleScanButton?: (view: mixed) => void;
}
declare interface BarcodeCountViewControllerListenerHost {
  brushForRecognizedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;
  brushForRecognizedBarcodeNotInList?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;
  brushForAcceptedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;
  brushForRejectedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;
  iconForRecognizedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;
  iconForRecognizedBarcodeNotInList?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;
  iconForAcceptedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;
  iconForRejectedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;
  didTapRecognizedBarcode?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => void;
  didTapFilteredBarcode?: (
    view: mixed,
    filteredBarcode: TrackedBarcode
  ) => void;
  didTapRecognizedBarcodeNotInList?: (
    view: mixed,
    trackedBarcode: TrackedBarcode
  ) => void;
  didTapAcceptedBarcode?: (view: mixed, trackedBarcode: TrackedBarcode) => void;
  didTapRejectedBarcode?: (view: mixed, trackedBarcode: TrackedBarcode) => void;
  didTapCluster?: (view: mixed, cluster: Cluster) => void;
  didCompleteCaptureList?: (view: mixed) => void;
}
declare interface BarcodeCountViewControllerViewHost {
  +viewId: number;
  +context: DataCaptureContext;
  +uiListener: BarcodeCountViewControllerUiListenerHost | null;
  +listener: BarcodeCountViewControllerListenerHost | null;
  +platformView: any;
  +recognizedBrush: Brush$1 | null;
  +notInListBrush: Brush$1 | null;
  +acceptedBrush: Brush$1 | null;
  +rejectedBrush: Brush$1 | null;
  whenViewCreated(): Promise<boolean>;
}
/**
 * [object Object],[object Object]
 * @since 8.3.0
 */

declare var BarcodeCountStatus: {|
  +None: "none", // "none"
  +NotAvailable: "notAvailable", // "notAvailable"
  +Expired: "expired", // "expired"
  +Fragile: "fragile", // "fragile"
  +QualityCheck: "qualityCheck", // "qualityCheck"
  +LowStock: "lowStock", // "lowStock"
  +Wrong: "wrong", // "wrong"
  +ExpiringSoon: "expiringSoon", // "expiringSoon"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 8.3.0
 */
declare class BarcodeCountStatusItem mixins DefaultSerializeable {
  /**
   * Constructs a new barcode count status item with a status.
   * @since 8.3.0
   */
  static create(
    barcode: TrackedBarcode,
    status: $Values<typeof BarcodeCountStatus>
  ): BarcodeCountStatusItem;

  /**
   * Constructs a new barcode count status item with an icon. Pass *null* for the icon to indicate that the barcode should not show any icon.
   * @since 8.7.0
   */
  static createWithIcon(
    barcode: TrackedBarcode,
    icon: ScanditIcon | null
  ): BarcodeCountStatusItem;
  constructor(): this;

  /**
   * The tracked barcode.
   * @since 8.3.0
   */
  barcode: TrackedBarcode;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  status: $Values<typeof BarcodeCountStatus>;

  /**
   * The icon associated to the barcode.
   * @since 8.7.0
   */
  icon: ScanditIcon | null;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 8.3.0
 */
declare interface BarcodeCountStatusResult {}
/**
 * @since 8.3.0
 */
declare class BarcodeCountStatusResultSuccess
  mixins DefaultSerializeable
  implements BarcodeCountStatusResult
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  static create(
    statusList: BarcodeCountStatusItem[],
    statusModeEnabledMessage: string,
    statusModeDisabledMessage: string
  ): BarcodeCountStatusResult;
  constructor(): this;
}
/**
 * @since 8.3.0
 */
declare class BarcodeCountStatusResultError
  mixins DefaultSerializeable
  implements BarcodeCountStatusResult
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  static create(
    statusList: BarcodeCountStatusItem[],
    errorMessage: string,
    statusModeDisabledMessage: string
  ): BarcodeCountStatusResult;
  constructor(): this;
}
/**
 * @since 8.3.0
 */
declare class BarcodeCountStatusResultAbort
  mixins DefaultSerializeable
  implements BarcodeCountStatusResult
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  static create(errorMessage: string): BarcodeCountStatusResult;
  constructor(): this;
}
declare interface BarcodeCountStatusProviderCallbackControllerHost {
  submitBarcodeCountStatusProviderCallback(
    statusResult: BarcodeCountStatusResult,
    requestId: string
  ): Promise<void>;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.3.0
 */
declare class BarcodeCountStatusProviderCallback {
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  onStatusReady(statusResult: BarcodeCountStatusResult): Promise<void>;
}
declare interface PrivateBarcodeCountStatusProviderCallback {
  _controller: BarcodeCountStatusProviderCallbackControllerHost;
  _requestId: string;
}
/**
 * When enabling status mode, an instance of this interface must be provided.
 * @since 8.3.0
 */
declare interface BarcodeCountStatusProvider {
  /**
   * This method will be called when the status for a group of barcodes is required. The implementation must call the callback to provide the status list.
   * @since 8.3.0
   */
  onStatusRequested(
    barcodes: TrackedBarcode[],
    callback: BarcodeCountStatusProviderCallback
  ): void;
}
declare var BarcodeCountUiListenerEvents: {|
  +singleScanButtonTapped: "BarcodeCountViewUiListener.onSingleScanButtonTapped", // "BarcodeCountViewUiListener.onSingleScanButtonTapped"
  +listButtonTapped: "BarcodeCountViewUiListener.onListButtonTapped", // "BarcodeCountViewUiListener.onListButtonTapped"
  +exitButtonTapped: "BarcodeCountViewUiListener.onExitButtonTapped", // "BarcodeCountViewUiListener.onExitButtonTapped"
|};

declare var BarcodeCountViewListenerEvents: {|
  +brushForRecognizedBarcode: "BarcodeCountViewListener.brushForRecognizedBarcode", // "BarcodeCountViewListener.brushForRecognizedBarcode"
  +brushForRecognizedBarcodeNotInList: "BarcodeCountViewListener.brushForRecognizedBarcodeNotInList", // "BarcodeCountViewListener.brushForRecognizedBarcodeNotInList"
  +brushForAcceptedBarcode: "BarcodeCountViewListener.brushForAcceptedBarcode", // "BarcodeCountViewListener.brushForAcceptedBarcode"
  +brushForRejectedBarcode: "BarcodeCountViewListener.brushForRejectedBarcode", // "BarcodeCountViewListener.brushForRejectedBarcode"
  +iconForRecognizedBarcode: "BarcodeCountViewListener.iconForRecognizedBarcode", // "BarcodeCountViewListener.iconForRecognizedBarcode"
  +iconForRecognizedBarcodeNotInList: "BarcodeCountViewListener.iconForRecognizedBarcodeNotInList", // "BarcodeCountViewListener.iconForRecognizedBarcodeNotInList"
  +iconForAcceptedBarcode: "BarcodeCountViewListener.iconForAcceptedBarcode", // "BarcodeCountViewListener.iconForAcceptedBarcode"
  +iconForRejectedBarcode: "BarcodeCountViewListener.iconForRejectedBarcode", // "BarcodeCountViewListener.iconForRejectedBarcode"
  +filteredBarcodeTapped: "BarcodeCountViewListener.didTapFilteredBarcode", // "BarcodeCountViewListener.didTapFilteredBarcode"
  +recognizedBarcodeNotInListTapped: "BarcodeCountViewListener.didTapRecognizedBarcodeNotInList", // "BarcodeCountViewListener.didTapRecognizedBarcodeNotInList"
  +recognizedBarcodeTapped: "BarcodeCountViewListener.didTapRecognizedBarcode", // "BarcodeCountViewListener.didTapRecognizedBarcode"
  +acceptedBarcodeTapped: "BarcodeCountViewListener.didTapAcceptedBarcode", // "BarcodeCountViewListener.didTapAcceptedBarcode"
  +rejectedBarcodeTapped: "BarcodeCountViewListener.didTapRejectedBarcode", // "BarcodeCountViewListener.didTapRejectedBarcode"
  +captureListCompleted: "BarcodeCountViewListener.didCompleteCaptureList", // "BarcodeCountViewListener.didCompleteCaptureList"
|};

declare var BarcodeCountModeListenerEvents: {|
  +didUpdateCaptureListSession: "BarcodeCountCaptureListListener.didUpdateSession", // "BarcodeCountCaptureListListener.didUpdateSession"
  +didScan: "BarcodeCountListener.onScan", // "BarcodeCountListener.onScan"
  +didUpdateSession: "BarcodeCountListener.didUpdateSession", // "BarcodeCountListener.didUpdateSession"
  +transformBarcodeData: "BarcodeDataTransformer.transformBarcodeData", // "BarcodeDataTransformer.transformBarcodeData"
  +onStatusRequested: "BarcodeCountStatusProvider.onStatusRequested", // "BarcodeCountStatusProvider.onStatusRequested"
|};

declare var BarcodeCountAdaptiveRecognitionEvents: {|
  +dispatchStarted: "BarcodeCountAdaptiveRecognitionListener.dispatchStarted", // "BarcodeCountAdaptiveRecognitionListener.dispatchStarted"
  +response: "BarcodeCountAdaptiveRecognitionListener.response", // "BarcodeCountAdaptiveRecognitionListener.response"
  +error: "BarcodeCountAdaptiveRecognitionListener.error", // "BarcodeCountAdaptiveRecognitionListener.error"
|};
declare type BarcodeCountViewProxy = {
  $createBarcodeCountView(x: {
    viewId: number,
    viewJson: string,
    ...
  }): Promise<void>,
  $removeBarcodeCountView(x: {
    viewId: number,
    ...
  }): Promise<void>,
  $setBarcodeCountViewPositionAndSize(x: {
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean,
    ...
  }): Promise<void>,
  ...
} & BarcodeProxy;
declare class BarcodeCountViewController
  mixins BaseController<BarcodeCountViewProxy>
{
  constructor(
    view: BarcodeCountViewControllerViewHost,
    barcodeCount: BarcodeCount
  ): this;
  registerModeListener(): Promise<void>;
  registerAdaptiveRecognitionServiceListener(): Promise<void>;
  unregisterAdaptiveRecognitionServiceListener(): Promise<void>;
  isUiListenerRegistered: any;
  registerUiListener(): Promise<void>;
  registerViewListener(): Promise<void>;
  update(): Promise<void>;
  createNativeView(): Promise<void>;
  removeNativeView(viewId?: number): Promise<void>;
  setUiListener(
    listener: BarcodeCountViewControllerUiListenerHost | null
  ): Promise<void>;
  setViewListener(
    listener: BarcodeCountViewControllerListenerHost | null
  ): Promise<void>;
  unregisterModeListener(): Promise<void>;
  clearHighlights(): Promise<void>;
  dispose(): Promise<void>;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  show(): Promise<void>;
  hide(): Promise<void>;
  setBrushForRecognizedBarcode(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setBrushForRecognizedBarcodeNotInList(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setBrushForAcceptedBarcode(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setBrushForRejectedBarcode(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setIconForRecognizedBarcode(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  setIconForRecognizedBarcodeNotInList(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  setIconForAcceptedBarcode(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  setIconForRejectedBarcode(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  enableHardwareTrigger(hardwareTriggerKeyCode: number | null): Promise<void>;
  updateMode(): Promise<void>;
  reset(): Promise<void>;
  setModeEnabledState(enabled: boolean): Promise<void>;
  startScanningPhase(): Promise<void>;
  endScanningPhase(): Promise<void>;
  updateFeedback(feedbackJson: string): Promise<void>;
  setBarcodeCountCaptureList(
    barcodeCountCaptureList: BarcodeCountCaptureList
  ): void;
  setStatusProvider(provider: BarcodeCountStatusProvider | null): Promise<void>;
  submitBarcodeCountStatusProviderCallback(
    statusResult: BarcodeCountStatusResult,
    requestId: string
  ): Promise<void>;
  isViewCreated: any;
}
/**
 * Barcode Count is a data capture mode that implements MatrixScan Count in use cases that include a counting workflow such as receiving, inventory count, and stock taking. MatrixScan Count is an out-of-the-box scan and count solution that enables faster and more accurate counting of multiple items at once.
 *
 * Learn more on how to use Barcode Count in our [Get Started](https://docs.scandit.com/sdks/react-native/matrixscan-count/get-started) guide.
 * @since 6.17.0
 */
declare class BarcodeCount mixins DefaultSerializeable, DataCaptureMode {
  static barcodeCountDefaults: any;

  /**
   * Returns the recommended camera settings for use with barcode count.
   * @since 7.6.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;

  /**
   * Constructs a new BarcodeCount instance with the provided settings.
   * @since 7.6.0
   */
  constructor(settings: BarcodeCountSettings): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  isEnabled: boolean;
  -isEnabled: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  context: DataCaptureContext | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  feedback: BarcodeCountFeedback;
  -feedback: any;
  _context: any;
  -_context: any;
  controller: any;
  -controller: any;

  /**
   * Asynchronously applies the new settings to the barcode scanner, then calls whenDone. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 6.17.0
   */
  applySettings(settings: BarcodeCountSettings): Promise<void>;

  /**
   * Adds the listener to observe this barcode capture instance.
   *
   * If the listener is already observing the barcode count instance, calling this method has no effect.
   * @since 6.17.0
   */
  addListener(listener: BarcodeCountListener): void;

  /**
   * Removes a previously added listener from this barcode count instance.
   *
   * If the listener is not currently observing the barcode count instance, calling this method has no effect.
   * @since 6.17.0
   */
  removeListener(listener: BarcodeCountListener): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  addAdaptiveRecognitionServiceListener(
    listener: AdaptiveRecognitionServiceListener
  ): void;

  /**
   * Removes a previously added adaptive recognition service listener from this barcode count instance.
   * @since 8.7.0
   */
  removeAdaptiveRecognitionServiceListener(
    listener: AdaptiveRecognitionServiceListener
  ): void;

  /**
   * Resets the session, effectively clearing the history of tracked and unscanned barcodes.
   * @since 6.17.0
   */
  reset(): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  startScanningPhase(): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  endScanningPhase(): void;

  /**
   * Enables “Scanning against a list” mode, which provides additional functionality when looking for a specific set of Barcodes.
   * @since 6.17.0
   */
  setBarcodeCountCaptureList(
    barcodeCountCaptureList: BarcodeCountCaptureList
  ): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  setAdditionalBarcodes(barcodes: Barcode[]): Promise<void>;

  /**
   * Clears the additional barcodes.
   * @since 6.17.0
   */
  clearAdditionalBarcodes(): Promise<void>;
}
declare interface PrivateBarcodeCount {
  _context: DataCaptureContext | null;
  listeners: BarcodeCountListener[];
  areListeners: AdaptiveRecognitionServiceListener[];
  didChange: () => Promise<void>;
  subscribeNativeListeners: () => void;
  unsubscribeNativeListeners: () => void;
  controller: BarcodeCountViewController | null;
  _hasListeners: boolean;
}
/**
 * Settings used with the BarcodeCount mapping flow.
 * @since 8.3.0
 */
declare class BarcodeCountMappingFlowSettings mixins DefaultSerializeable {
  static barcodeCountDefaults: any;

  /**
   * Text displayed for the initial guidance during the mapping flow. Defaults to “Tap shutter to scan all codes in batches”.
   * @since 8.3.0
   */
  scanBarcodesGuidanceText: string;

  /**
   * Text displayed on the “Next” button. Defaults to “Next”.
   * @since 8.3.0
   */
  nextButtonText: string;

  /**
   * Text displayed during the mapping flow on the last screen. Defaults to “Step back to fit all codes into camera view”.
   * @since 8.3.0
   */
  stepBackGuidanceText: string;

  /**
   * Text displayed on the “Redo map” button. Defaults to “Redo map”.
   * @since 8.3.0
   */
  redoScanButtonText: string;

  /**
   * Text displayed on the “Restart” button. Defaults to “Restart”.
   * @since 8.3.0
   */
  restartButtonText: string;

  /**
   * Text displayed on the “Finish” button. Defaults to “Finish”.
   * @since 8.3.0
   */
  finishButtonText: string;

  /**
   * Creates a new BarcodeCountMappingFlowSettings instance.
   * @since 8.3.0
   */
  constructor(): this;
}
/**
 * @since 6.17.0
 */
declare class BarcodeCountToolbarSettings mixins DefaultSerializeable {
  static barcodeCountDefaults: any;

  /**
   * Creates an instance of BarcodeCountToolbarSettings.
   * @since 8.3.0
   */
  constructor(): this;

  /**
   * If populated sets the text of the audio setting button when in “on” state. Otherwise a default “Audio on” value will be used.
   * @since 6.17.0
   */
  audioOnButtonText: string;

  /**
   * If populated sets the text of the audio setting button when in “off” state. Otherwise a default “Audio off” value will be used.
   * @since 6.17.0
   */
  audioOffButtonText: string;

  /**
   * If populated sets the content description of the audio setting button. Otherwise a default “Audio” value will be used.
   *
   * This property is applied only when running on Android.
   * @since 6.17.0
   */
  audioButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the audio setting button. Otherwise a default “Audio” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  audioButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the audio setting button. Otherwise a default “Audio” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  audioButtonAccessibilityLabel: string | null;

  /**
   * If populated sets the text of the vibration setting button when in “on” state. Otherwise a default “Haptic on” value will be used.
   * @since 6.17.0
   */
  vibrationOnButtonText: string;

  /**
   * If populated sets the text of the vibration setting button when in “off” state. Otherwise a default “Haptic off” value will be used.
   * @since 6.17.0
   */
  vibrationOffButtonText: string;

  /**
   * If populated sets the content description of the vibration setting button. Otherwise a default “Vibration” value will be used.
   *
   * This property is applied only when running on Android.
   * @since 6.17.0
   */
  vibrationButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the vibration setting button. Otherwise a default “Vibration” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  vibrationButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the vibration setting button. Otherwise a default “Vibration” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  vibrationButtonAccessibilityLabel: string | null;

  /**
   * If populated sets the text of the strap mode setting button when in “on” state. Otherwise a default “Strap mode” value will be used.
   * @since 6.17.0
   */
  strapModeOnButtonText: string;

  /**
   * If populated sets the text of the strap mode setting button when in “off” state. Otherwise a default “Strap mode” value will be used.
   * @since 6.17.0
   */
  strapModeOffButtonText: string;

  /**
   * If populated sets the content description of the strap mode setting button. Otherwise a default “Strap mode” value will be used.
   *
   * This property is applied only when running on Android.
   * @since 6.17.0
   */
  strapModeButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the strap mode setting button. Otherwise a default “Strap mode” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  strapModeButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the strap mode setting button. Otherwise a default “Strap mode” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  strapModeButtonAccessibilityLabel: string | null;

  /**
   * If populated sets the text of the color scheme setting button when in “on” state. Otherwise a default “Color scheme” value will be used.
   * @since 6.17.0
   */
  colorSchemeOnButtonText: string;

  /**
   * If populated sets the text of the color scheme setting button when in “off” state. Otherwise a default “Color scheme” value will be used.
   * @since 6.17.0
   */
  colorSchemeOffButtonText: string;

  /**
   * If populated sets the content description of the color scheme setting button. Otherwise a default “Color scheme” value will be used.
   * @since 6.17.0
   */
  colorSchemeButtonContentDescription: string | null;

  /**
   * If populated sets the accessibility hint of the color scheme setting button. Otherwise a default “Color scheme” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  colorSchemeButtonAccessibilityHint: string | null;

  /**
   * If populated sets the accessibility label of the color scheme setting button. Otherwise a default “Color scheme” value will be used.
   *
   * This property is applied only when running on iOS.
   * @since 6.17.0
   */
  colorSchemeButtonAccessibilityLabel: string | null;
}
/**
 * @since 6.17.0
 */
declare interface BarcodeCountViewUiListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  didTapListButton?: (
    view: BarcodeCountView,
    snapshot: BarcodeCountSessionSnapshot | null
  ) => void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  didTapExitButton?: (
    view: BarcodeCountView,
    snapshot: BarcodeCountSessionSnapshot | null
  ) => void;

  /**
   * Callback method that can be used to define an action that should be performed once the single scan button is tapped. Called from the main thread.
   * @since 6.17.0
   */
  didTapSingleScanButton?: (view: BarcodeCountView) => void;
}
/**
 * @since 6.17.0
 */
declare interface BarcodeCountViewListener {
  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  brushForRecognizedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  brushForRecognizedBarcodeNotInList?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  brushForAcceptedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  brushForRejectedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  iconForRecognizedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  iconForRecognizedBarcodeNotInList?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  iconForAcceptedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  iconForRejectedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => BarcodeCountIcon | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  didTapRecognizedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => void;

  /**
   * Callback method that can be used to define an action that should be performed once a filtered barcode is tapped. Called from the main thread.
   * @since 6.17.0
   */
  didTapFilteredBarcode?: (
    view: BarcodeCountView,
    filteredBarcode: TrackedBarcode
  ) => void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.17.0
   */
  didTapRecognizedBarcodeNotInList?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => void;

  /**
   * Callback method that can be used to define an action that should be performed once an accepted barcode is tapped. Called from the main thread.
   * @since 7.1.0
   */
  didTapAcceptedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => void;

  /**
   * Callback method that can be used to define an action that should be performed once a rejected barcode is tapped. Called from the main thread.
   * @since 7.1.0
   */
  didTapRejectedBarcode?: (
    view: BarcodeCountView,
    trackedBarcode: TrackedBarcode
  ) => void;

  /**
   * Callback method that can be used to define an action that should be performed once a cluster is tapped. Called from the main thread.
   * @since 8.3.0
   */
  didTapCluster?: (view: BarcodeCountView, cluster: Cluster) => void;

  /**
   * Callback method that can be used to define an action that should be performed when all the items of a capture list have been correctly scanned. If there is no capture list set, this method will never be called. Called from the main thread.
   * @since 6.17.0
   */
  didCompleteCaptureList?: (view: BarcodeCountView) => void;
}
/**
 * @since 7.1.0
 */
declare class BarcodeCountNotInListActionSettings mixins DefaultSerializeable {
  /**
   * Build a new instance of this class, with default values.
   * @since 8.3.0
   */
  constructor(): this;

  /**
   * Use this property to enable the not in list actions. Defaults to *false*.
   * @since 7.1.0
   */
  enabled: boolean;
  -enabled: any;

  /**
   * The text for the label associated with the accept button.
   *
   * Default value is “Accept”.
   * @since 7.1.0
   */
  acceptButtonText: string;
  -acceptButtonText: any;

  /**
   * The accept button accessibility label.
   *
   * Default value is “Accept barcode button”.
   *
   * This feature is only available on iOS devices.
   * @since 7.1.0
   */
  acceptButtonAccessibilityLabel: string;
  -acceptButtonAccessibilityLabel: any;

  /**
   * The accept button accessibility hint.
   *
   * Default value is “Accept barcode button”.
   *
   * This feature is only available on iOS devices.
   * @since 7.1.0
   */
  acceptButtonAccessibilityHint: string;
  -acceptButtonAccessibilityHint: any;

  /**
   * The accept button content description.
   *
   * Default value is “Accept barcode button”.
   *
   * This feature is only available on Android devices.
   * @since 7.1.0
   */
  acceptButtonContentDescription: string;
  -acceptButtonContentDescription: any;

  /**
   * The text for the label associated with the reject button.
   *
   * Default value is “Reject”.
   * @since 7.1.0
   */
  rejectButtonText: string;
  -rejectButtonText: any;

  /**
   * The reject button accessibility label.
   *
   * Default value is “Reject barcode button”.
   *
   * This feature is only available on iOS devices.
   * @since 7.1.0
   */
  rejectButtonAccessibilityLabel: string;
  -rejectButtonAccessibilityLabel: any;

  /**
   * The reject button accessibility hint.
   *
   * Default value is “Reject barcode button”.
   *
   * This feature is only available on iOS devices.
   * @since 7.1.0
   */
  rejectButtonAccessibilityHint: string;
  -rejectButtonAccessibilityHint: any;

  /**
   * The reject button content description.
   *
   * Default value is “Reject barcode button”.
   *
   * This feature is only available on Android devices.
   * @since 7.1.0
   */
  rejectButtonContentDescription: string;
  -rejectButtonContentDescription: any;

  /**
   * The text for the label associated with the cancel button.
   *
   * Default value is “Cancel”.
   * @since 7.1.0
   */
  cancelButtonText: string;
  -cancelButtonText: any;

  /**
   * The cancel button accessibility label.
   *
   * Default value is “Cancel popover button”.
   *
   * This feature is only available on iOS devices.
   * @since 7.1.0
   */
  cancelButtonAccessibilityLabel: string;
  -cancelButtonAccessibilityLabel: any;

  /**
   * The cancel button accessibility hint.
   *
   * Default value is “Cancel popover button”.
   * @since 7.1.0
   */
  cancelButtonAccessibilityHint: string;
  -cancelButtonAccessibilityHint: any;

  /**
   * The cancel button content description.
   *
   * Default value is “Cancel popover button”.
   *
   * This feature is only available on Android devices.
   * @since 7.1.0
   */
  cancelButtonContentDescription: string;
  -cancelButtonContentDescription: any;

  /**
   * The text for the hint that will be shown when a barcode is accepted.
   *
   * Default value is “Item accepted”.
   * @since 7.1.0
   */
  barcodeAcceptedHint: string;
  -barcodeAcceptedHint: any;

  /**
   * The text for the hint that will be shown when a barcode is rejected.
   *
   * Default value is “Item rejected”.
   * @since 7.1.0
   */
  barcodeRejectedHint: string;
  -barcodeRejectedHint: any;
}
declare interface BaseBarcodeCountViewProps {
  context: DataCaptureContext;
  barcodeCount: BarcodeCount;
  viewStyle: $Values<typeof BarcodeCountViewStyle>;
  uiListener?: BarcodeCountViewUiListener | null;
  listener?: BarcodeCountViewListener | null;
  shouldDisableModeOnExitButtonTapped?: boolean;
  shouldShowUserGuidanceView?: boolean;
  shouldShowListButton?: boolean;
  shouldShowExitButton?: boolean;
  shouldShowShutterButton?: boolean;
  shouldShowHints?: boolean;
  shouldShowClearHighlightsButton?: boolean;
  shouldShowSingleScanButton?: boolean;
  shouldShowFloatingShutterButton?: boolean;
  shouldShowToolbar?: boolean;
  shouldShowStatusModeButton?: boolean;
  shouldShowStatusIconsOnScan?: boolean;
  shouldShowScanAreaGuides?: boolean;
  recognizedBrush?: any;
  notInListBrush?: any;
  acceptedBrush?: any;
  rejectedBrush?: any;
  filterSettings?: any;
  listButtonAccessibilityHint?: string;
  listButtonAccessibilityLabel?: string;
  listButtonContentDescription?: string;
  exitButtonAccessibilityHint?: string;
  exitButtonAccessibilityLabel?: string;
  exitButtonContentDescription?: string;
  shutterButtonAccessibilityHint?: string;
  shutterButtonAccessibilityLabel?: string;
  shutterButtonContentDescription?: string;
  floatingShutterButtonAccessibilityHint?: string;
  floatingShutterButtonAccessibilityLabel?: string;
  floatingShutterButtonContentDescription?: string;
  clearHighlightsButtonAccessibilityHint?: string;
  clearHighlightsButtonAccessibilityLabel?: string;
  clearHighlightsButtonContentDescription?: string;
  singleScanButtonAccessibilityHint?: string;
  singleScanButtonAccessibilityLabel?: string;
  singleScanButtonContentDescription?: string;
  statusModeButtonAccessibilityHint?: string;
  statusModeButtonAccessibilityLabel?: string;
  statusModeButtonContentDescription?: string;
  clearHighlightsButtonText?: string;
  exitButtonText?: string;
  textForTapShutterToScanHint?: string;
  textForScanningHint?: string;
  textForMoveCloserAndRescanHint?: string;
  textForMoveFurtherAndRescanHint?: string;
  textForBarcodesNotInListDetectedHint?: string;
  textForScreenCleanedUpHint?: string;
  textForClusteringGestureHint?: string;
  shouldShowListProgressBar?: boolean;
  shouldShowTorchControl?: boolean;
  torchControlPosition?: any;
  logoStyle?: $Values<typeof LogoStyle$1>;
  logoAnchor?: $Values<typeof Anchor$1>;
  tapToUncountEnabled?: boolean;
  textForTapToUncountHint?: string;
  barcodeNotInListActionSettings?: BarcodeCountNotInListActionSettings;
  hardwareTriggerEnabled?: boolean;
  mappingFlowSettings?: BarcodeCountMappingFlowSettings;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.17.0
 */
declare interface BarcodeCountView {}
declare class BaseBarcodeCountView implements BarcodeCountView {
  platformView: any;

  /**
   * Resolves true once this view's native counterpart exists, false if it
   * never will (creation failed, timed out, or the view was torn down).
   *
   * Callers that arrive before creation has been kicked off park until it is,
   * bounded by VIEW_CREATION_PRE_BEGIN_TIMEOUT_MS; once a creation cycle is in
   * flight the bound is VIEW_CREATION_TIMEOUT_MS. Reachable on Cordova/Capacitor
   * when a view method runs before connectToElement().
   * @internal Not part of the documented API surface: it exists so the base
   * view's own action methods can await creation, and is public only because
   * the framework plugins reach it across package boundaries.
   */
  whenViewCreated(): Promise<boolean>;
  static barcodeCountDefaults: any;
  static defaultRecognizedBrush: Brush$1;
  static defaultNotInListBrush: Brush$1;
  static defaultAcceptedBrush: Brush$1;
  static defaultRejectedBrush: Brush$1;
  static defaultRecognizedIcon: BarcodeCountIcon;
  static defaultNotInListIcon: BarcodeCountIcon;
  static defaultAcceptedIcon: BarcodeCountIcon;
  static defaultRejectedIcon: BarcodeCountIcon;
  static hardwareTriggerSupported: boolean;
  static withProps(
    props: BaseBarcodeCountViewProps,
    platformView?: any
  ): BaseBarcodeCountView;
  constructor(x: {
    context: DataCaptureContext,
    barcodeCount: BarcodeCount,
    viewStyle: $Values<typeof BarcodeCountViewStyle>,
    platformView?: any,
    mappingFlowSettings?: BarcodeCountMappingFlowSettings,
    ...
  }): this;
  viewId: number;
  context: DataCaptureContext;
  uiListener: BarcodeCountViewUiListener | null;
  -uiListener: any;
  listener: BarcodeCountViewListener | null;
  -listener: any;
  shouldDisableModeOnExitButtonTapped: boolean;
  -shouldDisableModeOnExitButtonTapped: any;
  shouldShowUserGuidanceView: boolean;
  -shouldShowUserGuidanceView: any;
  shouldShowListButton: boolean;
  -shouldShowListButton: any;
  shouldShowExitButton: boolean;
  -shouldShowExitButton: any;
  shouldShowShutterButton: boolean;
  -shouldShowShutterButton: any;
  shouldShowHints: boolean;
  -shouldShowHints: any;
  shouldShowClearHighlightsButton: boolean;
  -shouldShowClearHighlightsButton: any;
  shouldShowSingleScanButton: boolean;
  -shouldShowSingleScanButton: any;
  shouldShowFloatingShutterButton: boolean;
  -shouldShowFloatingShutterButton: any;
  shouldShowToolbar: boolean;
  -shouldShowToolbar: any;
  shouldShowStatusModeButton: boolean;
  -shouldShowStatusModeButton: any;
  shouldShowStatusIconsOnScan: boolean;
  -shouldShowStatusIconsOnScan: any;
  shouldShowScanAreaGuides: boolean;
  -shouldShowScanAreaGuides: any;
  recognizedBrush: Brush$1 | null;
  -recognizedBrush: any;
  notInListBrush: Brush$1 | null;
  -notInListBrush: any;
  acceptedBrush: Brush$1 | null;
  -acceptedBrush: any;
  rejectedBrush: Brush$1 | null;
  -rejectedBrush: any;
  filterSettings: BarcodeFilterHighlightSettings | null;
  -filterSettings: any;
  style: $Values<typeof BarcodeCountViewStyle>;
  listButtonAccessibilityHint: string;
  -listButtonAccessibilityHint: any;
  listButtonAccessibilityLabel: string;
  -listButtonAccessibilityLabel: any;
  listButtonContentDescription: string;
  -listButtonContentDescription: any;
  exitButtonAccessibilityHint: string;
  -exitButtonAccessibilityHint: any;
  exitButtonAccessibilityLabel: string;
  -exitButtonAccessibilityLabel: any;
  exitButtonContentDescription: string;
  -exitButtonContentDescription: any;
  shutterButtonAccessibilityHint: string;
  -shutterButtonAccessibilityHint: any;
  shutterButtonAccessibilityLabel: string;
  -shutterButtonAccessibilityLabel: any;
  shutterButtonContentDescription: string;
  -shutterButtonContentDescription: any;
  floatingShutterButtonAccessibilityHint: string;
  -floatingShutterButtonAccessibilityHint: any;
  floatingShutterButtonAccessibilityLabel: string;
  -floatingShutterButtonAccessibilityLabel: any;
  floatingShutterButtonContentDescription: string;
  -floatingShutterButtonContentDescription: any;
  clearHighlightsButtonAccessibilityHint: string;
  -clearHighlightsButtonAccessibilityHint: any;
  clearHighlightsButtonAccessibilityLabel: string;
  -clearHighlightsButtonAccessibilityLabel: any;
  clearHighlightsButtonContentDescription: string;
  -clearHighlightsButtonContentDescription: any;
  singleScanButtonAccessibilityHint: string;
  -singleScanButtonAccessibilityHint: any;
  singleScanButtonAccessibilityLabel: string;
  -singleScanButtonAccessibilityLabel: any;
  singleScanButtonContentDescription: string;
  -singleScanButtonContentDescription: any;
  statusModeButtonAccessibilityHint: string;
  -statusModeButtonAccessibilityHint: any;
  statusModeButtonAccessibilityLabel: string;
  -statusModeButtonAccessibilityLabel: any;
  statusModeButtonContentDescription: string;
  -statusModeButtonContentDescription: any;
  clearHighlightsButtonText: string;
  -clearHighlightsButtonText: any;
  exitButtonText: string;
  -exitButtonText: any;
  textForTapShutterToScanHint: string;
  -textForTapShutterToScanHint: any;
  textForScanningHint: string;
  -textForScanningHint: any;
  textForMoveCloserAndRescanHint: string;
  -textForMoveCloserAndRescanHint: any;
  textForMoveFurtherAndRescanHint: string;
  -textForMoveFurtherAndRescanHint: any;
  textForBarcodesNotInListDetectedHint: string;
  -textForBarcodesNotInListDetectedHint: any;
  textForScreenCleanedUpHint: string;
  -textForScreenCleanedUpHint: any;
  textForClusteringGestureHint: string;
  -textForClusteringGestureHint: any;
  shouldShowListProgressBar: boolean;
  -shouldShowListProgressBar: any;
  shouldShowTorchControl: boolean;
  -shouldShowTorchControl: any;
  torchControlPosition: $Values<typeof Anchor$1>;
  -torchControlPosition: any;
  logoStyle: $Values<typeof LogoStyle$1>;
  -logoStyle: any;
  logoAnchor: $Values<typeof Anchor$1>;
  -logoAnchor: any;
  tapToUncountEnabled: boolean;
  -tapToUncountEnabled: any;
  textForTapToUncountHint: string;
  -textForTapToUncountHint: any;
  barcodeNotInListActionSettings: BarcodeCountNotInListActionSettings;
  -barcodeNotInListActionSettings: any;
  hardwareTriggerEnabled: boolean;
  -hardwareTriggerEnabled: any;
  dispose(): Promise<void>;
  clearHighlights(): Promise<void>;
  setToolbarSettings(settings: BarcodeCountToolbarSettings): void;
  setStatusProvider(provider: BarcodeCountStatusProvider): void;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  show(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  hide(): Promise<void>;
  setBrushForRecognizedBarcode(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setBrushForRecognizedBarcodeNotInList(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setBrushForAcceptedBarcode(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setBrushForRejectedBarcode(
    trackedBarcode: TrackedBarcode,
    brush: Brush$1 | null
  ): Promise<void>;
  setIconForRecognizedBarcode(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  setIconForRecognizedBarcodeNotInList(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  setIconForAcceptedBarcode(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  setIconForRejectedBarcode(
    trackedBarcode: TrackedBarcode,
    icon: BarcodeCountIcon | null
  ): Promise<void>;
  enableHardwareTrigger(hardwareTriggerKeyCode: number | null): Promise<void>;
  createNativeView(viewId: number): Promise<void>;
  removeNativeView(): Promise<void>;
  toJSON(): { [key: string]: any };
  updateWithProps(
    prevProps: BaseBarcodeCountViewProps,
    props: BaseBarcodeCountViewProps
  ): void;
}
declare class BarcodeCountSessionController
  mixins BaseController<BarcodeProxy>
{
  constructor(viewId: number): this;
  resetSession(): Promise<void>;
  getSpatialMap(): Promise<BarcodeSpatialGrid | void>;
  getSpatialMapWithHints(
    expectedNumberOfRows: number,
    expectedNumberOfColumns: number
  ): Promise<BarcodeSpatialGrid | void>;
}
declare interface PrivateBarcodeCountView {
  _context: DataCaptureContext;
  _barcodeCount: BarcodeCount;
  toJSON(): { [key: string]: any };
}
/**
 * Contains information about barcode-batch-specific licensing.
 * @since 8.6.0
 */
declare class BarcodeBatchLicenseInfo {
  /**
   * Which symbologies are licensed and can be used for Barcode Batch.
   * @since 8.6.0
   */
  licensedSymbologies: $Values<typeof Symbology>[];
  static fromJSON(json: {
    licensedSymbologies?: string[],
    ...
  }): BarcodeBatchLicenseInfo;
}
declare interface BarcodeBatchSessionEventPayload {
  session: string;
  frameId: string | null;
  modeId: number | null;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.0.0
 */
declare class BarcodeBatchSession {
  /**
   * Newly tracked barcodes.
   * @since 7.0.0
   */
  addedTrackedBarcodes: TrackedBarcode[];

  /**
   * The identifiers of lost tracked barcodes that were removed.
   * @since 7.0.0
   */
  removedTrackedBarcodes: string[];

  /**
   * Updated tracked barcodes (new location).
   * @since 7.0.0
   */
  updatedTrackedBarcodes: TrackedBarcode[];

  /**
   * A map from identifiers to tracked barcodes. It contains all currently tracked barcodes.
   * @since 7.0.0
   */
  trackedBarcodes: {
    [key: string]: TrackedBarcode,
  };

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  frameSequenceID: number;

  /**
   * Resets the Barcode Batch session, effectively clearing the history of tracked barcodes. This function should only be called inside the listeners’ callback.
   * @since 7.0.0
   */
  reset(): Promise<void>;
}
declare interface BarcodeBatchSessionJSON {
  addedTrackedBarcodes: TrackedBarcodeJSON[];
  removedTrackedBarcodes: string[];
  updatedTrackedBarcodes: TrackedBarcodeJSON[];
  trackedBarcodes: {
    [key: string]: TrackedBarcodeJSON,
  };
  frameSequenceId: number;
}
declare interface PrivateBarcodeBatchSession {
  fromJSON(json: BarcodeBatchSessionEventPayload): BarcodeBatchSession;
  frameId: string;
}
/**
 * The BarcodeBatch listener is the main way for hooking into BarcodeBatch. It provides a callback that is invoked when the state of tracked barcodes changes.
 * @since 7.0.0
 */
declare interface BarcodeBatchListener {
  /**
   * Invoked after Barcode Batch has completed to process a frame.
   * @since 7.0.0
   */
  didUpdateSession?: (
    barcodeBatch: BarcodeBatch,
    session: BarcodeBatchSession,
    getFrameData: () => Promise<FrameData>
  ) => Promise<void>;
}
/**
 * @since 7.0.0
 */
declare class BarcodeBatchSettings mixins DefaultSerializeable {
  /**
   * Returns the set of enabled symbologies.
   * @since 7.0.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 7.0.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 7.0.0
   */
  getProperty(name: string): any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  setArucoDictionary(dictionary: ArucoDictionary$1): void;
  toJSON(): BarcodeTrackingSettings;
}
declare interface BarcodeBatchListenerControllerHost {
  +modeId: number;
  +isEnabled: boolean;
  toJSON(): BarcodeTracking;
}
declare var BarcodeBatchListenerEvents: {|
  +didUpdateSession: "BarcodeBatchListener.didUpdateSession", // "BarcodeBatchListener.didUpdateSession"
|};
declare class BarcodeBatchListenerController
  mixins BaseController<BarcodeProxy>
{
  constructor(host: BarcodeBatchListenerControllerHost): this;
  resetSession(): Promise<void>;
  setModeEnabledState(enabled: boolean): Promise<void>;
  updateBarcodeBatchMode(): Promise<void>;
  getBarcodeBatchLicenseInfo(): Promise<BarcodeBatchLicenseInfo | null>;
  applyBarcodeBatchModeSettings(
    newSettings: BarcodeBatchSettings
  ): Promise<void>;
  getFrame(frameId: string): Promise<FrameData>;
  handleDidUpdateSession(
    data: { [key: string]: mixed, ... },
    notify: (session: BarcodeBatchSession) => Promise<void>
  ): Promise<void>;
}
/**
 * Data capture mode that implements MatrixScan (Barcode Batch).
 *
 * Learn more on how to use Barcode Batch in our [Get Started](https://docs.scandit.com/sdks/react-native/matrixscan/get-started) guide.
 * @since 6.5.0
 */
declare class BarcodeBatch
  mixins ModeBase<BarcodeBatchListenerController>, DataCaptureMode
{
  static barcodeBatchDefaults: any;
  type: string;
  listeners: any;

  /**
   * Returns the recommended camera settings for use with Barcode Batch.
   * @since 7.6.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;
  asControllerHost: any;
  createController(): BarcodeBatchListenerController;

  /**
   * Constructs a new BarcodeBatch instance with the provided settings.
   * @since 7.6.0
   */
  constructor(settings: BarcodeBatchSettings): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  context: DataCaptureContext | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  isEnabled: boolean;
  -isEnabled: any;

  /**
   * Asynchronously applies the new settings to the barcode scanner. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 7.0.0
   */
  applySettings(settings: BarcodeBatchSettings): Promise<void>;

  /**
   * Adds the listener to observe this barcode capture instance.
   *
   * In case the same listener is already observing this instance, calling this method will not add the listener again.
   * @since 7.0.0
   */
  addListener(listener: BarcodeBatchListener): Promise<void>;

  /**
   * Removes a previously added listener from this Barcode Batch instance.
   *
   * In case the listener is not currently observing this instance, calling this method has no effect.
   * @since 7.0.0
   */
  removeListener(listener: BarcodeBatchListener): Promise<void>;

  /**
   * Resets the object tracker.
   * @since 7.0.0
   */
  reset(): Promise<void>;
  toJSON(): BarcodeTracking;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  getBarcodeBatchLicenseInfo(): Promise<BarcodeBatchLicenseInfo | null>;
}
declare type PrivateBarcodeBatch = {
  _context: DataCaptureContext | null,
  listeners: BarcodeBatchListener[],
  parentId: number | null,
  ...
} & PrivateDataCaptureMode;

/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.0.0
 */
declare interface BarcodeBatchAdvancedOverlayView {}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.0.0
 */
declare type BarcodeBatchAdvancedOverlay = {
  /**
   * @since 7.0.0
   */
  listener: BarcodeBatchAdvancedOverlayListener | null,
  ...
} & DataCaptureOverlay;

/**
 * @since 7.0.0
 */
declare interface BarcodeBatchAdvancedOverlayListener {
  /**
   * Callback method that can be used to define an action that should be performed when a view for a tracked barcode is tapped.
   * @since 7.0.0
   */
  didTapViewForTrackedBarcode?: (
    overlay: BarcodeBatchAdvancedOverlay,
    trackedBarcode: TrackedBarcode
  ) => void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  viewForTrackedBarcode?: (
    overlay: BarcodeBatchAdvancedOverlay,
    trackedBarcode: TrackedBarcode
  ) =>
    | BarcodeBatchAdvancedOverlayView
    | null
    | Promise<BarcodeBatchAdvancedOverlayView | null>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  anchorForTrackedBarcode?: (
    overlay: BarcodeBatchAdvancedOverlay,
    trackedBarcode: TrackedBarcode
  ) => $Values<typeof Anchor$1>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  offsetForTrackedBarcode?: (
    overlay: BarcodeBatchAdvancedOverlay,
    trackedBarcode: TrackedBarcode
  ) => PointWithUnit;
}
declare var BarcodeBatchAdvancedOverlayListenerEvents: {|
  +didTapViewForTrackedBarcode: "BarcodeBatchAdvancedOverlayListener.didTapViewForTrackedBarcode", // "BarcodeBatchAdvancedOverlayListener.didTapViewForTrackedBarcode"
  +viewForTrackedBarcode: "BarcodeBatchAdvancedOverlayListener.viewForTrackedBarcode", // "BarcodeBatchAdvancedOverlayListener.viewForTrackedBarcode"
  +anchorForTrackedBarcode: "BarcodeBatchAdvancedOverlayListener.anchorForTrackedBarcode", // "BarcodeBatchAdvancedOverlayListener.anchorForTrackedBarcode"
  +offsetForTrackedBarcode: "BarcodeBatchAdvancedOverlayListener.offsetForTrackedBarcode", // "BarcodeBatchAdvancedOverlayListener.offsetForTrackedBarcode"
|};
declare type BarcodeBatchAdvancedOverlayControllerHost = {
  +view: {
    viewId: number,
    ...
  } | null,
  toJSON(): { [key: string]: any },
  ...
} & BarcodeBatchAdvancedOverlay;
declare class BarcodeBatchAdvancedOverlayController
  mixins BaseController<BarcodeProxy>
{
  constructor(overlay: BarcodeBatchAdvancedOverlayControllerHost): this;
  setViewForTrackedBarcode(
    view:
      | BarcodeBatchAdvancedOverlayView
      | Promise<BarcodeBatchAdvancedOverlayView>,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  updateSizeOfTrackedBarcodeView(
    trackedBarcodeIdentifier: number,
    width: number,
    height: number
  ): Promise<void>;
  setAnchorForTrackedBarcode(
    anchor: $Values<typeof Anchor$1>,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  setOffsetForTrackedBarcode(
    offset: PointWithUnit,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  clearTrackedBarcodeViews(): Promise<void>;
  updateBarcodeBatchAdvancedOverlay(): Promise<void>;
  onViewChanged(): Promise<void>;
  subscribeListener(): Promise<void>;
  unsubscribeListener(): Promise<void>;
  dispose(): void;
  dataCaptureViewId: any;
}
/**
 * @since 7.0.0
 */
declare interface BarcodeBatchBasicOverlayListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  brushForTrackedBarcode?: (
    overlay: BarcodeBatchBasicOverlay,
    trackedBarcode: TrackedBarcode
  ) => Brush$1 | null;

  /**
   * Callback method that can be used to define an action that should be performed once a tracked barcode is tapped. Called from the main thread.
   * @since 7.0.0
   */
  didTapTrackedBarcode?: (
    overlay: BarcodeBatchBasicOverlay,
    trackedBarcode: TrackedBarcode
  ) => void;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 7.0.0
 */
declare class BarcodeBatchBasicOverlay
  mixins DefaultSerializeable, DataCaptureOverlay
{
  view: any;
  -view: any;
  asHost: any;
  hasListener: any;
  _dataCaptureViewId: any;

  /**
   * The listener which is called whenever a new TrackedBarcode is newly tracked or newly recognized.
   *
   * Using this listener requires the MatrixScan AR add-on.
   * @since 7.0.0
   */
  listener: BarcodeBatchBasicOverlayListener | null;
  -listener: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  defaultBrush: Brush$1 | null;
  -defaultBrush: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  brush: Brush$1 | null;
  -brush: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  shouldShowScanAreaGuides: boolean;
  -shouldShowScanAreaGuides: any;

  /**
   * The overlay style. Defaults to Frame.
   * @since 7.0.0
   */
  style: $Values<typeof BarcodeBatchBasicOverlayStyle>;
  static barcodeBatchDefaults: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.6.0
   */
  constructor(
    mode: BarcodeBatch,
    style: $Values<typeof BarcodeBatchBasicOverlayStyle>
  ): this;
  toJSON(): BarcodeTrackingBasicOverlay;

  /**
   * The method can be called to change the visualization style of a tracked barcode. This method is thread-safe, it can be called from any thread. If the brush is *null*, then no visualization will be drawn for the tracked barcode. Additionally, tapping on the barcode will have no effect - the action defined by BarcodeBatchBasicOverlayListener.didTapTrackedBarcode() callback will not be performed.
   *
   * Setting a brush for a tracked barcode that is not part of the currently active session will be ignored.
   *
   * Using this function requires the MatrixScan AR add-on.
   * @since 7.0.0
   */
  setBrushForTrackedBarcode(
    brush: Brush$1 | null,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;

  /**
   * Clears all currently displayed visualizations for the tracked barcodes.
   *
   * This only applies to the currently tracked barcodes, the visualizations for the new ones will still appear.
   * @since 7.0.0
   */
  clearTrackedBarcodeBrushes(): Promise<void>;
}
declare interface BarcodeBatchBasicOverlayControllerHost {
  +view: {
    viewId: number,
    ...
  } | null;
  +brush: Brush$1 | null;
  +hasListener: boolean;
  toJSON(): BarcodeTrackingBasicOverlay;
  dispatchBrushForTrackedBarcode(
    trackedBarcode: TrackedBarcode
  ): Brush$1 | null | void;
  dispatchDidTapTrackedBarcode(trackedBarcode: TrackedBarcode): void;
}
declare var BarcodeBatchBasicOverlayListenerEvents: {|
  +brushForTrackedBarcode: "BarcodeBatchBasicOverlayListener.brushForTrackedBarcode", // "BarcodeBatchBasicOverlayListener.brushForTrackedBarcode"
  +didTapTrackedBarcode: "BarcodeBatchBasicOverlayListener.didTapTrackedBarcode", // "BarcodeBatchBasicOverlayListener.didTapTrackedBarcode"
|};
declare class BarcodeBatchBasicOverlayController
  mixins BaseController<BarcodeProxy>
{
  constructor(overlay: BarcodeBatchBasicOverlayControllerHost): this;
  setBrushForTrackedBarcode(
    brush: Brush$1 | null,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  clearTrackedBarcodeBrushes(): Promise<void>;
  updateBarcodeBatchBasicOverlay(): Promise<void>;
  onViewChanged(): Promise<void>;
  subscribeListener(): Promise<void>;
  unsubscribeListener(): Promise<void>;
  dispose(): void;
  dataCaptureViewId: any;
}
declare class BaseBarcodeBatchAdvancedOverlay
  mixins DefaultSerializeable
  implements BarcodeBatchAdvancedOverlay
{
  type: string;
  view: BaseDataCaptureView | null;
  -view: any;
  shouldShowScanAreaGuides: boolean;
  -shouldShowScanAreaGuides: any;
  _dataCaptureViewId: any;
  listener: BarcodeBatchAdvancedOverlayListener | null;
  -listener: any;
  constructor(mode: BarcodeBatch): this;
  toJSON(): BarcodeTrackingAdvancedOverlay;
  setViewForTrackedBarcode(
    view:
      | BarcodeBatchAdvancedOverlayView
      | Promise<BarcodeBatchAdvancedOverlayView>,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  setAnchorForTrackedBarcode(
    anchor: $Values<typeof Anchor$1>,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  setOffsetForTrackedBarcode(
    offset: PointWithUnit,
    trackedBarcode: TrackedBarcode
  ): Promise<void>;
  clearTrackedBarcodeViews(): Promise<void>;
  updateSizeOfTrackedBarcodeView(
    trackedBarcodeIdentifier: number,
    width: number,
    height: number
  ): Promise<void>;
  onViewIdChanged(): void;
}
/**
 * A unique identifier for scan item definitions in the item-based scanning APIs. This identifier is automatically generated as a UUID and is used to distinguish between different scan item definitions within the system.
 * @since 8.1.0
 */
declare class ScanItemIdentifier mixins DefaultSerializeable {
  static fromJSON(definitionId: string): ScanItemIdentifier;

  /**
   * Creates a new scan item identifier with an automatically generated UUID.
   * @since 8.1.0
   */
  constructor(): this;
}
/**
 * A unique identifier for scanned items in the item-based scanning APIs. This identifier is automatically generated as a UUID and is used to distinguish between different scanned items within the system.
 * @since 8.1.0
 */
declare class ScannedItemIdentifier {
  static fromJSON(identifier: string): ScannedItemIdentifier;

  /**
   * Creates a new scanned item identifier with an automatically generated UUID.
   * @since 8.1.0
   */
  constructor(): this;
}
/**
 * A unique identifier for scanned components in the item-based scanning APIs. This identifier is automatically generated as a UUID and is used to distinguish between different scanned components within the system.
 * @since 8.1.0
 */
declare class ScannedComponentIdentifier {
  static fromJSON(identifier: string): ScannedComponentIdentifier;

  /**
   * Creates a new scanned component identifier with an automatically generated UUID.
   * @since 8.1.0
   */
  constructor(): this;
}
/**
 * A unique identifier for barcode components in the item-based scanning APIs. This identifier is automatically generated as a UUID and is used to distinguish between different barcode scan components within the system.
 * @since 8.1.0
 */
declare class BarcodeIdentifier {
  static fromJSON(definitionId: string): BarcodeIdentifier;

  /**
   * Creates a new barcode identifier with an automatically generated UUID.
   * @since 8.1.0
   */
  constructor(): this;
}
/**
 * A unique identifier for text components in the item-based scanning APIs. This identifier is automatically generated as a UUID and is used to distinguish between different text scan components within the system.
 * @since 8.1.0
 */
declare class TextIdentifier mixins DefaultSerializeable {
  static fromJSON(identifier: string): TextIdentifier;

  /**
   * Creates a new text identifier with an automatically generated UUID.
   * @since 8.1.0
   */
  constructor(): this;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare interface ScanComponentDefinition<T> {
  /**
   * [object Object],[object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  identifier: T;

  /**
   * The expected location of the code.
   * @since 8.1.0
   */
  location: Quadrilateral | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  optional: boolean;
}
/**
 * A protocol that defines the common interface for scanned components in the item-based scanning APIs. Scanned components represent individual scan results such as barcodes or text that have been detected and localized in the camera frame.
 * @since 8.1.0
 */
declare interface ScannedComponent<T> {
  /**
   * The unique identifier identifying this instance of the component.
   * @since 8.1.0
   */
  identifier: ScannedComponentIdentifier;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  definitionIdentifier: T;

  /**
   * The location of the component. The quadrilateral represents the four corner points of the detected component’s bounding area.
   * @since 8.1.0
   */
  location: Quadrilateral;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class ScannedBarcode implements ScannedComponent<BarcodeIdentifier> {
  static fromJSON(json: ScannedBarcodeJSON): ScannedBarcode;
  constructor(): this;

  /**
   * The unique identifier for this instance of the barcode component.
   * @since 8.1.0
   */
  identifier: ScannedComponentIdentifier;

  /**
   * The unique identifier for the definition of this barcode component.
   * @since 8.1.0
   */
  definitionIdentifier: BarcodeIdentifier;

  /**
   * The location of the barcode as a quadrilateral.
   * @since 8.1.0
   */
  location: Quadrilateral;

  /**
   * The symbology of the scanned barcode.
   * @since 8.1.0
   */
  symbology: $Values<typeof Symbology>;

  /**
   * The data of this barcode as a unicode string. May be *null* for barcodes containing non-printable characters, or characters that cannot be represented as unicode code points, or nul-bytes in the middle of the string
   * @since 8.1.0
   */
  payloadString: string | null;

  /**
   * The add-on payload string if the barcode has an add-on. *null* if the barcode does not have an add-on.
   * @since 8.1.0
   */
  addOnPayloadString: string | null;

  /**
   * The composite payload string if the barcode is part of a composite barcode. *null* if the barcode is not composite.
   * @since 8.1.0
   */
  compositePayloadString: string | null;

  /**
   * *True* for codes that carry GS1 data.
   * @since 8.1.0
   */
  isGS1DataCarrier: boolean;

  /**
   * Flag to hint whether the barcode is part of a composite code.
   * @since 8.1.0
   */
  compositeFlag: $Values<typeof CompositeFlag>;

  /**
   * Whether the recognized code is color inverted (printed bright on dark background).
   * @since 8.1.0
   */
  isColorInverted: boolean;

  /**
   * The symbol count of this barcode.
   * @since 8.1.0
   */
  symbolCount: number;

  /**
   * Id of the frame from which this barcode information was obtained.
   * @since 8.1.0
   */
  frameId: number;

  /**
   * Whether the barcode is a structured append barcode.
   * @since 8.1.0
   */
  isStructuredAppend: boolean;
}
declare interface ScannedBarcodeJSON {
  identifier: string;
  definitionId: string;
  location: QuadrilateralJSON;
  symbology: string;
  payloadString: string | null;
  addOnPayloadString: string | null;
  compositePayloadString: string | null;
  isGS1DataCarrier: boolean;
  compositeFlag: string;
  isColorInverted: boolean;
  symbolCount: number;
  frameId: number;
  isStructuredAppend: boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class ScannedText implements ScannedComponent<TextIdentifier> {
  static fromJSON(json: ScannedTextJSON): ScannedText;
  constructor(): this;

  /**
   * The unique identifier for this instance of the text component.
   * @since 8.1.0
   */
  identifier: ScannedComponentIdentifier;

  /**
   * The unique identifier for the definition of this text component.
   * @since 8.1.0
   */
  definitionIdentifier: TextIdentifier;

  /**
   * The location of the text in the image as a quadrilateral.
   * @since 8.1.0
   */
  location: Quadrilateral;

  /**
   * The recognized text content.
   * @since 8.1.0
   */
  text: string;
}
declare interface ScannedTextJSON {
  identifier: string;
  definitionId: string;
  location: QuadrilateralJSON;
  text: string;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class ScannedItem {
  static fromJSON(json: ScannedItemJSON): ScannedItem;
  constructor(): this;

  /**
   * The unique identifier for this scanned item. May be *null* if the item doesn’t have a specific identifier.
   * @since 8.1.0
   */
  identifier: ScannedItemIdentifier | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  definitionIdentifier: ScanItemIdentifier | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  components: ScannedComponent<any>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  barcodeForIdentifier(identifier: BarcodeIdentifier): ScannedBarcode | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  textForIdentifier(identifier: TextIdentifier): ScannedText | null;
}
declare type ScannedComponentJSON =
  | {
      type: "barcode",
      barcode: $Diff<
        ScannedBarcodeJSON,
        { identifier: any, definitionId: any, location: any }
      >,
      identifier: string,
      definitionId: string,
      location: QuadrilateralJSON,
      ...
    }
  | {
      type: "text",
      text: $Diff<
        ScannedTextJSON,
        { identifier: any, definitionId: any, location: any }
      >,
      identifier: string,
      definitionId: string,
      location: QuadrilateralJSON,
      ...
    };
declare interface ScannedItemJSON {
  identifier: string;
  definitionId: string;
  components: ScannedComponentJSON[];
}
/**
 * A definition for a target scan item in the item-based scanning APIs that represents a collection of related scan components. A scan item definition can contain multiple barcode and text components that are logically grouped together.
 * @since 8.1.0
 */
declare class ScanItemDefinition mixins DefaultSerializeable {
  /**
   * A callback that gets called every time a new scan item is detected.
   * @since 8.1.0
   */
  onScan?: (item: ScannedItem) => void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  constructor(
    identifier: ScanItemIdentifier,
    components: ScanComponentDefinition<any>[]
  ): this;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  static fromComponents(
    components: ScanComponentDefinition<any>[]
  ): ScanItemDefinition;

  /**
   * The unique identifier for this scanned item.
   * @since 8.1.0
   */
  identifier: ScanItemIdentifier;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  components: ScanComponentDefinition<any>[];
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */

declare var ScanComponentTextSemanticType: {|
  +Custom: "custom", // "custom"
  +ExpiryDate: "expiryDate", // "expiryDate"
  +PackingDate: "packingDate", // "packingDate"
  +TotalPrice: "totalPrice", // "totalPrice"
  +UnitPrice: "unitPrice", // "unitPrice"
  +Weight: "weight", // "weight"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class TextDefinition
  mixins DefaultSerializeable
  implements ScanComponentDefinition<TextIdentifier>
{
  /**
   * Creates a builder object that can be used to fluently create a TextDefinition instance.
   * @since 8.1.0
   */
  static builder(identifier: TextIdentifier): TextDefinitionBuilder;

  /**
   * A constructor that receives the identifier for the text definition.
   * @since 8.1.0
   */
  constructor(identifier: TextIdentifier): this;

  /**
   * The unique identifier for this component.
   * @since 8.1.0
   */
  identifier: TextIdentifier;

  /**
   * The expected location of the text.
   * @since 8.1.0
   */
  location: Quadrilateral | null;
  -location: any;

  /**
   * Whether the text is optional.
   * @since 8.1.0
   */
  optional: boolean;
  -optional: any;

  /**
   * A semantic type to be applied to the text definition.
   * @since 8.1.0
   */
  semantics: $Values<typeof ScanComponentTextSemanticType> | null;
  -semantics: any;

  /**
   * A list of hidden properties to set on the text definition.
   * @since 8.1.0
   */
  hiddenProperties: string;
  -hiddenProperties: any;

  /**
   * A list of value regex to use when searching for the text.
   * @since 8.1.0
   */
  valueRegexes: string[];
  -valueRegexes: any;

  /**
   * A list of anchor regexes to use when searching for the text.
   * @since 8.1.0
   */
  anchorRegexes: string[];
  -anchorRegexes: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class TextDefinitionBuilder {
  /**
   * Creates a new builder for the given identifier.
   * @since 8.1.0
   */
  constructor(identifier: TextIdentifier): this;

  /**
   * Sets whether the text component is optional in the item definition. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setOptional(optional: boolean): TextDefinitionBuilder;

  /**
   * Sets a predefined semantics type for the text. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setSemantics(
    semantics: $Values<typeof ScanComponentTextSemanticType>
  ): TextDefinitionBuilder;

  /**
   * Sets an expected location for the text. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setLocation(location: Quadrilateral | null): TextDefinitionBuilder;

  /**
   * Sets the hidden properties for the component. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setHiddenProperties(hiddenProperties: string): TextDefinitionBuilder;

  /**
   * Sets the value regexes for the text. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setValueRegexes(valueRegexes: string[]): TextDefinitionBuilder;

  /**
   * Sets the anchor regexes for the text. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setAnchorRegexes(anchorRegexes: string[]): TextDefinitionBuilder;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  build(): TextDefinition;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */

declare var ScanComponentBarcodePreset: {|
  +CustomBarcode: "customBarcode", // "customBarcode"
  +ImeiOneBarcode: "imeiOneBarcode", // "imeiOneBarcode"
  +ImeiTwoBarcode: "imeiTwoBarcode", // "imeiTwoBarcode"
  +PartNumberBarcode: "partNumberBarcode", // "partNumberBarcode"
  +SerialNumberBarcode: "serialNumberBarcode", // "serialNumberBarcode"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class BarcodeDefinition
  mixins DefaultSerializeable
  implements ScanComponentDefinition<BarcodeIdentifier>
{
  /**
   * The expected location of the barcode.
   * @since 8.1.0
   */
  location: Quadrilateral | null;

  /**
   * A preset to be applied to the barcode definition.
   * @since 8.1.0
   */
  preset: $Values<typeof ScanComponentBarcodePreset> | null;

  /**
   * A list of hidden properties to set on the barcode definition.
   * @since 8.1.0
   */
  hiddenProperties: string | null;

  /**
   * A list of value regexes to use when searching for the barcode.
   * @since 8.1.0
   */
  valueRegexes: string[];

  /**
   * A list of anchor regexes to use when searching for the barcode.
   * @since 8.1.0
   */
  anchorRegexes: string[];

  /**
   * Creates a builder object that can be used to fluently create a BarcodeDefinition instance.
   * @since 8.1.0
   */
  static builder(identifier: BarcodeIdentifier): BarcodeDefinitionBuilder;

  /**
   * The unique identifier for this component.
   * @since 8.1.0
   */
  identifier: BarcodeIdentifier;

  /**
   * The list of symbologies that the barcode could be using.
   * @since 8.1.0
   */
  symbologies: Set<$Values<typeof Symbology>>;

  /**
   * Whether the barcode is optional.
   * @since 8.1.0
   */
  optional: boolean;
  -optional: any;

  /**
   * A constructor that receives the identifier and symbologies for the barcode definition.
   * @since 8.1.0
   */
  constructor(
    identifier: BarcodeIdentifier,
    symbologies: Set<$Values<typeof Symbology>>
  ): this;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.1.0
 */
declare class BarcodeDefinitionBuilder {
  constructor(identifier: BarcodeIdentifier): this;

  /**
   * Sets whether the barcode component is optional in the item definition. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setOptional(optional: boolean): BarcodeDefinitionBuilder;

  /**
   * Sets the barcode symbologies for the component. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setSymbologies(
    symbologies: Set<$Values<typeof Symbology>>
  ): BarcodeDefinitionBuilder;

  /**
   * Sets a predefined preset for the component. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setPreset(
    preset: $Values<typeof ScanComponentBarcodePreset> | null
  ): BarcodeDefinitionBuilder;

  /**
   * Sets an expected location for the barcode. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setLocation(location: Quadrilateral | null): BarcodeDefinitionBuilder;

  /**
   * Sets the hidden properties for the component. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setHiddenProperties(hiddenProperties: string): BarcodeDefinitionBuilder;

  /**
   * Sets the value regexes for the barcode. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setValueRegexes(valueRegexes: string[]): BarcodeDefinitionBuilder;

  /**
   * Sets the anchor regexes for the barcode. Returns the builder for configuring the rest of the properties.
   * @since 8.1.0
   */
  setAnchorRegexes(anchorRegexes: string[]): BarcodeDefinitionBuilder;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  build(): BarcodeDefinition;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare class SparkScanSettings mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  scanIntention: $Values<typeof ScanIntention$1>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionMode: $Values<typeof SelectionMode$1>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  enabledCompositeTypes: $Values<typeof CompositeType>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.21.0
   */
  batterySaving: $Values<typeof BatterySavingMode$1>;
  -batterySaving: any;

  /**
   * Defines the strategy with which to select one out of many visible barcodes. By default, this property is *null* and code selection is disabled.
   * @since 6.16.0
   */
  locationSelection: LocationSelection$1 | null;
  -locationSelection: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  codeDuplicateFilter: number;
  -codeDuplicateFilter: any;

  /**
   * Returns the set of enabled symbologies.
   * @since 6.16.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  itemDefinitions: ScanItemDefinition[] | null;
  -itemDefinitions: any;
  static sparkScanDefaults: any;
  static barcodeDefaults: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  constructor(capturePresets?: Set<$Values<typeof CapturePreset>>): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * Sets a property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 6.16.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 6.16.0
   */
  getProperty(name: string): any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  enableSymbologiesForCompositeTypes(
    compositeTypes: $Values<typeof CompositeType>[]
  ): void;
  compositeTypeDescriptions: any;
}
/**
 * Contains information about spark-scan-specific licensing.
 * @since 8.6.0
 */
declare class SparkScanLicenseInfo {
  /**
   * Which symbologies are licensed and can be used for SparkScan.
   * @since 8.6.0
   */
  licensedSymbologies: $Values<typeof Symbology>[];
  static fromJSON(json: {
    licensedSymbologies?: string[],
    ...
  }): SparkScanLicenseInfo;
}
/**
 * @internal
 */
declare interface SparkScanSessionControllerHost {
  resetSession(): Promise<void>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare class SparkScanSession {
  constructor(
    newlyRecognizedBarcode: Barcode | null,
    frameSequenceID: number,
    allScannedItems: ScannedItem[],
    newlyRecognizedItems: ScannedItem[],
    controller: SparkScanSessionControllerHost
  ): this;

  /**
   * Last newly recognized barcode in the last processed frame.
   * @since 6.26.0
   */
  newlyRecognizedBarcode: Barcode | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  frameSequenceID: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  allScannedItems: ScannedItem[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   */
  newlyRecognizedItems: ScannedItem[];

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  reset(): Promise<void>;
}
declare interface SparkScanSessionJSON {
  newlyRecognizedBarcode: BarcodeJSON | null;
  frameSequenceId: number;
  allScannedItems: ScannedItemJSON[];
  newlyRecognizedItems: ScannedItemJSON[];
}
/**
 * Listener interface for traditional SparkScan.
 * @since 6.16.0
 */
declare interface SparkScanListener {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  didUpdateSession?: (
    sparkScan: SparkScan,
    session: SparkScanSession,
    getFrameData: () => Promise<FrameData | null>
  ) => Promise<void>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  didScan?: (
    sparkScan: SparkScan,
    session: SparkScanSession,
    getFrameData: () => Promise<FrameData | null>
  ) => Promise<void>;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare class SparkScan mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  isEnabled: boolean;
  -isEnabled: any;

  /**
   * The context this mode is attached to. When the data capture mode is not attached to a context, *null* is returned.
   * @since 6.16.0
   */
  context: DataCaptureContext | null;
  _context: any;
  -_context: any;

  /**
   * Constructs a new SparkScan mode with the provided settings.
   * @since 7.6.0
   */
  constructor(settings?: SparkScanSettings): this;

  /**
   * Asynchronously applies the new settings to the barcode scanner. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 6.16.0
   */
  applySettings(settings: SparkScanSettings): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  getSparkScanLicenseInfo(): Promise<SparkScanLicenseInfo | null>;

  /**
   * Adds the listener to this SparkScan instance.
   *
   * In case the same listener is already observing this instance, calling this method will not add the listener again.
   * @since 6.16.0
   */
  addListener(listener: SparkScanListener): void;

  /**
   * Removes a previously added listener from this SparkScan instance.
   *
   * In case the listener is not currently observing this instance, calling this method has no effect.
   * @since 6.16.0
   */
  removeListener(listener: SparkScanListener): void;
}
/**
 * @since 6.19.0
 */
declare class SparkScanToastSettings mixins DefaultSerializeable {
  /**
   * Should toasts be shown or not.
   *
   * Default is *true*.
   * @since 6.19.0
   */
  -toastEnabled: any;
  toastEnabled: boolean;

  /**
   * Background color of the toast. If this property is *null*, a default color will be used.
   *
   * Default is *null*.
   * @since 6.19.0
   */
  -toastBackgroundColor: any;
  toastBackgroundColor: Color$1 | null;

  /**
   * Text color of the toast. If this property is *null*, a default color will be used.
   *
   * Default is *null*.
   * @since 6.19.0
   */
  -toastTextColor: any;
  toastTextColor: Color$1 | null;

  /**
   * Text of the toast when target mode enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.19.0
   * @deprecated Use selectionModeOnMessage instead. Will be removed in 9.0.
   */
  -targetModeEnabledMessage: any;

  /**
   * @deprecated Use selectionModeOnMessage instead. Will be removed in 9.0.
   */
  targetModeEnabledMessage: string | null;

  /**
   * Text of the toast when target mode disabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.19.0
   * @deprecated Use selectionModeOffMessage instead. Will be removed in 9.0.
   */
  -targetModeDisabledMessage: any;

  /**
   * @deprecated Use selectionModeOffMessage instead. Will be removed in 9.0.
   */
  targetModeDisabledMessage: string | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  -selectionModeOnMessage: any;
  selectionModeOnMessage: string | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  -selectionModeOffMessage: any;
  selectionModeOffMessage: string | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  -continuousModeEnabledMessage: any;
  continuousModeEnabledMessage: string | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  -continuousModeDisabledMessage: any;
  continuousModeDisabledMessage: string | null;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.23.0
   */
  -scanPausedMessage: any;
  scanPausedMessage: string | null;

  /**
   * Text of the toast when zooming in.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  -zoomedInMessage: any;
  zoomedInMessage: string | null;

  /**
   * Text of the toast when zooming out.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  -zoomedOutMessage: any;
  zoomedOutMessage: string | null;

  /**
   * Text of the toast when torch is enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  -torchEnabledMessage: any;
  torchEnabledMessage: string | null;

  /**
   * Text of the toast when torch is disabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.23.0
   */
  -torchDisabledMessage: any;
  torchDisabledMessage: string | null;

  /**
   * Text of the toast when world facing camera is enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.24.0
   */
  -worldFacingCameraEnabledMessage: any;
  worldFacingCameraEnabledMessage: string | null;

  /**
   * Text of the toast when user facing camera is enabled.
   *
   * Default is *null*. If this property is *null*, a default message will be shown. If this property is an empty string, the toast will not be shown.
   * @since 6.24.0
   */
  -userFacingCameraEnabledMessage: any;
  userFacingCameraEnabledMessage: string | null;

  /**
   * Constructs a new SparkScan toast settings with all parameters specified. When called with no parameters (or all parameters as undefined/null), defaults from native will be used. Parameters not provided will use their default values from the native platform.
   * @since 8.3.0
   */
  constructor(
    toastEnabled?: boolean,
    toastBackgroundColor?: Color$1 | null,
    toastTextColor?: Color$1 | null,
    targetModeEnabledMessage?: string | null,
    targetModeDisabledMessage?: string | null,
    selectionModeOnMessage?: string | null,
    selectionModeOffMessage?: string | null,
    continuousModeEnabledMessage?: string | null,
    continuousModeDisabledMessage?: string | null,
    scanPausedMessage?: string | null,
    zoomedInMessage?: string | null,
    zoomedOutMessage?: string | null,
    torchEnabledMessage?: string | null,
    torchDisabledMessage?: string | null,
    userFacingCameraEnabledMessage?: string | null,
    worldFacingCameraEnabledMessage?: string | null
  ): this;
  static sparkScanDefaults: any;
  static toastSettings: any;
}
/**
 * This is the standard scanning mode for SparkScan.
 * @since 6.16.0
 * @deprecated Use SparkScanSettings.selectionMode = SelectionMode.Off instead. Will be removed in 9.0.
 */
declare class SparkScanScanningModeDefault
  mixins DefaultSerializeable
  implements SparkScanScanningMode$1
{
  /**
   * The scanning mode provided in the constructor.
   * @since 6.16.0
   */
  scanningBehavior: $Values<typeof SparkScanScanningBehavior>;

  /**
   * The preview behavior provided in the constructor.
   * @since 6.23.0
   */
  previewBehavior: $Values<typeof SparkScanPreviewBehavior>;

  /**
   * Constructs a new default scanning mode with the provided capture mode and preview behavior.
   * @since 6.23.0
   */
  constructor(
    scanningBehavior: $Values<typeof SparkScanScanningBehavior>,
    previewBehavior?: $Values<typeof SparkScanPreviewBehavior>
  ): this;
}
/**
 * Target scanning mode. This is meant and optimized to scan codes further away.
 * @since 6.16.0
 * @deprecated Use SparkScanSettings.selectionMode = SelectionMode.On instead. Will be removed in 9.0.
 */
declare class SparkScanScanningModeTarget
  mixins DefaultSerializeable
  implements SparkScanScanningMode$1
{
  /**
   * The scanning mode provided in the constructor.
   * @since 6.16.0
   */
  scanningBehavior: $Values<typeof SparkScanScanningBehavior>;

  /**
   * The preview behavior provided in the constructor.
   * @since 6.23.0
   */
  previewBehavior: $Values<typeof SparkScanPreviewBehavior>;

  /**
   * Constructs a new target scanning mode with the provided capture mode and preview behavior.
   * @since 6.23.0
   */
  constructor(
    scanningBehavior: $Values<typeof SparkScanScanningBehavior>,
    previewBehavior?: $Values<typeof SparkScanPreviewBehavior>
  ): this;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare class SparkScanViewSettings mixins DefaultSerializeable {
  /**
   * The timeout to automatically switch to idle state. When set to negative value timeout is infinite.
   *
   * Default is 5 seconds.
   * @since 6.16.0
   */
  triggerButtonCollapseTimeout: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  defaultTorchState: $Values<typeof TorchState>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   * @deprecated Use SparkScanSettings.selectionMode plus SparkScanViewSettings.scanningBehavior / previewBehavior instead. Will be removed in 9.0.
   */
  defaultScanningMode: SparkScanScanningMode$1;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  scanningBehavior: $Values<typeof SparkScanScanningBehavior>;
  -scanningBehavior: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.7.0
   */
  previewBehavior: $Values<typeof SparkScanPreviewBehavior>;
  -previewBehavior: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  holdToScanEnabled: boolean;

  /**
   * Indicates whether the feedback should have sound enabled.
   *
   * Default is *true*.
   * @since 6.16.0
   */
  soundEnabled: boolean;

  /**
   * Indicates whether the feedback should have haptics enabled.
   *
   * Default is *true*.
   * @since 6.16.0
   */
  hapticEnabled: boolean;

  /**
   * @since 6.16.0
   */
  hardwareTriggerEnabled: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.16.0
   */
  hardwareTriggerKeyCode: number | null;

  /**
   * Indicates whether the visual feedback on scan should be displayed.
   *
   * Default is *true*.
   * @since 6.16.0
   */
  visualFeedbackEnabled: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  toastSettings: SparkScanToastSettings;

  /**
   * The zoom factor to use for the camera.
   *
   * Default is 1.
   * @since 6.23.0
   */
  zoomFactorOut: number;

  /**
   * The zoom factor to move to when the zoom switch control was tapped.
   *
   * Default is 2.
   * @since 6.23.0
   */
  zoomFactorIn: number;

  /**
   * The timeout to automatically stop capturing.
   *
   * Default is 10 seconds.
   * @since 6.23.0
   */
  inactiveStateTimeout: number;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  defaultCameraPosition: $Values<typeof CameraPosition>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  defaultMiniPreviewSize: $Values<typeof SparkScanMiniPreviewSize>;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.5.0
   */
  selectionModeCandidateBrush: Brush$1 | null;

  /**
   * Controls the mirroring of the camera feed to support the use of a periscope device.
   *
   * Default is *false*.
   *
   * This property only has an effect on iOS. It does not affect the camera feed on Android.
   * @since 8.3.0
   */
  periscopeModeEnabled: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.1.0
   * @deprecated Use selectionModeCandidateBrush instead. Will be removed in 9.0.
   */
  smartSelectionCandidateBrush: Brush$1 | null;

  /**
   * @deprecated Use selectionModeCandidateBrush instead. Will be removed in 9.0.
   */
  -smartSelectionCandidateBrush: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.3.0
   */
  constructor(): this;
  toJSON(): { [key: string]: any };
  static sparkScanDefaults: any;
  static viewSettingsDefaults: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.0.0
 */

declare var SparkScanViewState: {|
  +Initial: "initial", // "initial"
  +Idle: "idle", // "idle"
  +Inactive: "inactive", // "inactive"
  +Active: "active", // "active"
  +Error: "error", // "error"
|};

/**
 * Used to emit feedback when capturing barcodes.
 * @since 6.23.0
 */
declare class SparkScanBarcodeFeedback mixins DefaultSerializeable {
  constructor(): this;

  /**
   * The default success feedback object.
   * @since 8.3.0
   */
  static defaultSuccessFeedback(): Feedback$1;

  /**
   * The default error feedback object.
   * @since 8.3.0
   */
  static defaultErrorFeedback(): Feedback$1;
  static sparkScanDefaults: SparkScanDefaults;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.23.0
 */
declare interface SparkScanFeedbackDelegate {
  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.23.0
   */
  feedbackForBarcode?: (barcode: Barcode) => SparkScanBarcodeFeedback | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  feedbackForScannedItem?: (
    item: ScannedItem
  ) => Promise<SparkScanBarcodeFeedback | null>;
}
declare interface BaseSparkScanViewProps {
  context: DataCaptureContext;
  sparkScan: SparkScan;
  sparkScanViewSettings: SparkScanViewSettings;
  uiListener?: SparkScanViewUiListener;
  previewSizeControlVisible?: boolean;
  scanningBehaviorButtonVisible?: boolean;
  barcodeCountButtonVisible?: boolean;
  barcodeFindButtonVisible?: boolean;

  /**
   * @deprecated Use selectionModeButtonVisible instead. Will be removed in 9.0.
   */
  targetModeButtonVisible?: boolean;
  selectionModeButtonVisible?: boolean;
  labelCaptureButtonVisible?: boolean;
  cameraSwitchButtonVisible?: boolean;
  torchControlVisible?: boolean;
  zoomSwitchControlVisible?: boolean;
  previewCloseControlVisible?: boolean;
  triggerButtonVisible?: boolean;
  toolbarBackgroundColor?: Color$1 | null;
  toolbarIconActiveTintColor?: Color$1 | null;
  toolbarIconInactiveTintColor?: Color$1 | null;
  triggerButtonAnimationColor?: Color$1 | null;
  triggerButtonExpandedColor?: Color$1 | null;
  triggerButtonCollapsedColor?: Color$1 | null;
  triggerButtonTintColor?: Color$1 | null;
  triggerButtonImage?: string | null;
  feedbackDelegate?: SparkScanFeedbackDelegate | null;
  shouldHandleAndroidLifecycleAutomatically?: boolean;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.16.0
 */
declare interface SparkScanView {}
declare class BaseSparkScanView implements SparkScanView {
  context: DataCaptureContext;
  _feedbackDelegate: SparkScanFeedbackDelegate | null;
  shouldHandleAndroidLifecycleAutomatically: boolean;
  viewId: number;

  /**
   * Resolves true once this view's native counterpart exists, false if it
   * never will (creation failed, timed out, or the view was torn down).
   *
   * Callers that arrive before creation has been kicked off park until it is,
   * bounded by VIEW_CREATION_PRE_BEGIN_TIMEOUT_MS; once a creation cycle is in
   * flight the bound is VIEW_CREATION_TIMEOUT_MS. Reachable on Cordova/Capacitor
   * when a view method runs before connectToElement().
   * @internal Not part of the documented API surface: it exists so the base
   * view's own action methods can await creation, and is public only because
   * the framework plugins reach it across package boundaries.
   */
  whenViewCreated(): Promise<boolean>;
  uiListener: SparkScanViewUiListener | null;
  -uiListener: any;
  viewSettings: SparkScanViewSettings;
  static withProps(props: BaseSparkScanViewProps): BaseSparkScanView;
  static defaultBrush: Brush$1;
  constructor(x: {
    context: DataCaptureContext,
    sparkScan: SparkScan,
    settings: SparkScanViewSettings | null,
    ...
  }): this;
  previewSizeControlVisible: boolean;
  -previewSizeControlVisible: any;
  torchControlVisible: boolean;
  -torchControlVisible: any;
  previewCloseControlVisible: boolean;
  -previewCloseControlVisible: any;
  zoomSwitchControlVisible: boolean;
  -zoomSwitchControlVisible: any;
  scanningBehaviorButtonVisible: boolean;
  -scanningBehaviorButtonVisible: any;
  barcodeCountButtonVisible: boolean;
  -barcodeCountButtonVisible: any;
  barcodeFindButtonVisible: boolean;
  -barcodeFindButtonVisible: any;

  /**
   * @deprecated Use selectionModeButtonVisible instead. Will be removed in 9.0.
   */
  targetModeButtonVisible: boolean;

  /**
   * @deprecated Use selectionModeButtonVisible instead. Will be removed in 9.0.
   */
  -targetModeButtonVisible: any;
  selectionModeButtonVisible: boolean;
  -selectionModeButtonVisible: any;
  labelCaptureButtonVisible: boolean;
  -labelCaptureButtonVisible: any;
  toolbarBackgroundColor: Color$1 | null;
  -toolbarBackgroundColor: any;
  toolbarIconActiveTintColor: Color$1 | null;
  -toolbarIconActiveTintColor: any;
  toolbarIconInactiveTintColor: Color$1 | null;
  -toolbarIconInactiveTintColor: any;
  cameraSwitchButtonVisible: boolean;
  -cameraSwitchButtonVisible: any;
  triggerButtonAnimationColor: Color$1 | null;
  -triggerButtonAnimationColor: any;
  triggerButtonExpandedColor: Color$1 | null;
  -triggerButtonExpandedColor: any;
  triggerButtonCollapsedColor: Color$1 | null;
  -triggerButtonCollapsedColor: any;
  triggerButtonTintColor: Color$1 | null;
  -triggerButtonTintColor: any;
  triggerButtonImage: string | null;
  -triggerButtonImage: any;
  triggerButtonVisible: boolean;
  -triggerButtonVisible: any;
  showToast(text: string): Promise<void>;
  getScanningMode(): Promise<SparkScanScanningMode$1>;
  prepareScanning(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  startScanning(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  pauseScanning(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  stopScanning(): Promise<void>;
  onHostPause(): Promise<void>;
  dispose(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  show(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  hide(): Promise<void>;
  createNativeView(viewId: number): Promise<void>;
  feedbackDelegate: SparkScanFeedbackDelegate | null;
  -feedbackDelegate: any;
  updateWithProps(
    prevProps: BaseSparkScanViewProps,
    props: BaseSparkScanViewProps
  ): void;
  toJSON(): SparkScanView$1;
  static sparkScanDefaults: any;
}
/**
 * @since 6.16.0
 */
declare interface SparkScanViewUiListener {
  /**
   * Callback method that can be used to define an action that should be performed when barcode count button is tapped from the toolbar. Called from the main thread.
   * @since 8.3.0
   */
  didTapBarcodeCountButton?: (view: SparkScanView) => void;

  /**
   * Callback method that can be used to define an action that should be performed when barcode find button is tapped from the toolbar. Called from the main thread.
   * @since 8.3.0
   */
  didTapBarcodeFindButton?: (view: SparkScanView) => void;

  /**
   * Callback method that can be used to define an action that should be performed when label capture button is tapped from the toolbar. Called from the main thread.
   * @since 8.3.0
   */
  didTapLabelCaptureButton?: (view: SparkScanView) => void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.0.0
   */
  didChangeViewState?: (newState: $Values<typeof SparkScanViewState>) => void;

  /**
   * Callback method that will be called when the currently used SparkScanScanningMode changes. Called from the main thread.
   * @since 8.3.0
   */
  didChangeScanningMode?: (newScanningMode: SparkScanScanningMode$1) => void;
}
/**
 * Used to display and emit an error feedback when capturing barcodes.
 * @since 6.23.0
 */
declare class SparkScanBarcodeErrorFeedback mixins SparkScanBarcodeFeedback {
  /**
   * The error message to display when a wrong barcode was captured.
   * @since 6.23.0
   */
  message: string;

  /**
   * The time interval after which to resume the capturing process.
   * @since 6.23.0
   */
  resumeCapturingDelay: number;

  /**
   * The color of the visual error feedback.
   * @since 6.23.0
   */
  visualFeedbackColor: Color$1;

  /**
   * The brush used for the error feedback.
   * @since 6.23.0
   */
  brush: Brush$1;

  /**
   * The feedback used for the error feedback.
   * @since 6.23.0
   */
  feedback: Feedback$1 | null;

  /**
   * Constructs an error feedback.
   * @since 6.23.0
   */
  static fromMessage(
    message: string,
    resumeCapturingDelay: number
  ): SparkScanBarcodeErrorFeedback;

  /**
   * Constructs an error feedback.
   * @since 6.23.0
   */
  constructor(
    message: string,
    resumeCapturingDelay: number,
    visualFeedbackColor: Color$1,
    brush: Brush$1,
    feedback: Feedback$1 | null
  ): this;
}
/**
 * Used to display and emit a success feedback when capturing barcodes.
 * @since 6.23.0
 */
declare class SparkScanBarcodeSuccessFeedback mixins SparkScanBarcodeFeedback {
  /**
   * The color of the visual success feedback.
   * @since 6.23.0
   */
  visualFeedbackColor: Color$1;

  /**
   * The brush used for the success feedback.
   * @since 6.23.0
   */
  brush: Brush$1;

  /**
   * The feedback used for the success feedback.
   * @since 6.23.0
   */
  feedback: Feedback$1 | null;

  /**
   * Constructs a success feedback.
   * @since 6.23.0
   */
  static fromVisualFeedbackColor(
    visualFeedbackColor: Color$1,
    brush: Brush$1,
    feedback: Feedback$1 | null
  ): SparkScanBarcodeSuccessFeedback;

  /**
   * Constructs a success feedback.
   * @since 6.23.0
   */
  constructor(): this;
}
declare interface SparkScanViewControllerHost {
  +viewId: number;
  +viewSettings: SparkScanViewSettings;
  uiListener: SparkScanViewUiListener | null;
  feedbackDelegate: SparkScanFeedbackDelegate | null;
  toJSON(): SparkScanView$1;
}
declare interface SparkScanSessionEventPayload {
  session: string;
  frameId?: string | null;
  viewId: number;
}
declare type SparkScanViewProxy = {
  $createSparkScanView(x: {
    viewId: number,
    viewJson: string,
    ...
  }): Promise<void>,
  ...
} & BarcodeProxy;

declare var SparkScanViewEvents: {|
  +barcodeFindButtonTapped: "SparkScanViewUiListener.barcodeFindButtonTapped", // "SparkScanViewUiListener.barcodeFindButtonTapped"
  +barcodeCountButtonTapped: "SparkScanViewUiListener.barcodeCountButtonTapped", // "SparkScanViewUiListener.barcodeCountButtonTapped"
  +labelCaptureButtonTapped: "SparkScanViewUiListener.labelCaptureButtonTapped", // "SparkScanViewUiListener.labelCaptureButtonTapped"
  +didChangeViewState: "SparkScanViewUiListener.didChangeViewState", // "SparkScanViewUiListener.didChangeViewState"
  +didChangeScanningMode: "SparkScanViewUiListener.didChangeScanningMode", // "SparkScanViewUiListener.didChangeScanningMode"
  +feedbackForBarcode: "SparkScanFeedbackDelegate.feedbackForBarcode", // "SparkScanFeedbackDelegate.feedbackForBarcode"
  +feedbackForScannedItem: "SparkScanFeedbackDelegate.feedbackForScannedItem", // "SparkScanFeedbackDelegate.feedbackForScannedItem"
  +didUpdateSession: "SparkScanListener.didUpdateSession", // "SparkScanListener.didUpdateSession"
  +didScan: "SparkScanListener.didScan", // "SparkScanListener.didScan"
|};
declare class SparkScanViewController
  mixins BaseController<SparkScanViewProxy>
{
  static forSparkScanView(
    view: SparkScanViewControllerHost,
    sparkScan: SparkScan
  ): SparkScanViewController;
  constructor(): this;
  dispose(): Promise<void>;
  disposeOrphanedNativeView(viewId: number): Promise<void>;
  subscribeViewListeners(): Promise<void>;
  unsubscribeViewListeners(): Promise<void>;
  createView(
    isCurrent?: () => boolean,
    onNativeViewExists?: () => void
  ): Promise<void>;
  updateView(): Promise<void>;
  stopScanning(): Promise<void>;
  pauseScanning(): Promise<void>;
  startScanning(): Promise<void>;
  prepareScanning(): Promise<void>;
  onHostPause(): Promise<void>;
  showToast(text: string): Promise<void>;
  showView(): Promise<void>;
  hideView(): Promise<void>;
  addFeedbackDelegate(): Promise<void>;
  removeFeedbackDelegate(): Promise<void>;
  resetSession(): Promise<void>;
  updateMode(): Promise<void>;
  getSparkScanLicenseInfo(): Promise<SparkScanLicenseInfo | null>;
  getScanningMode(): Promise<SparkScanScanningMode$1>;
  subscribeModeListener(): Promise<void>;
  unsubscribeModeListener(): Promise<void>;
  setModeEnabledState(enabled: boolean): Promise<void>;
  isViewCreated: any;
}
declare interface PrivateSparkScanView {
  _context: DataCaptureContext;
  _sparkScan: SparkScan;
  toJSON(): { [key: string]: any };
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.19.0
 */
declare class BarcodePickSettings mixins DefaultSerializeable {
  static barcodePickDefaults: any;

  /**
   * Constructs a new instance with default values.
   * @since 6.19.0
   */
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * Returns the set of enabled symbologies.
   * @since 6.19.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 6.19.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 6.19.0
   */
  getProperty(name: string): any;

  /**
   * Enables or disables the audio feedback. By default *true*.
   * @since 6.19.0
   */
  soundEnabled: boolean;
  -soundEnabled: any;

  /**
   * Enables or disables the haptic feedback. By default *true*.
   * @since 6.19.0
   */
  hapticsEnabled: boolean;
  -hapticsEnabled: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.23.0
   */
  setArucoDictionary(dictionary: ArucoDictionary$1): void;

  /**
   * Enables or disables the caching of scanned barcodes to a specific product identifier. Once enabled, the request for product identifier won’t be made if scanned barcodes could be found in cache. By default *true*.
   * @since 6.23.0
   */
  cachingEnabled: boolean;
  -cachingEnabled: any;

  /**
   * Sets and access the barcode filter settings.
   * @since 8.2.0
   */
  filterSettings: BarcodeFilterSettings;
  -filterSettings: any;
}
/**
 * BarcodePickView.
 * @since 6.19.0
 */
declare interface BarcodePickView {}
/**
 * @since 6.23.0
 */
declare interface BarcodePickViewUiListener {
  /**
   * Callback method that can be used to define an action that should be performed when the finish button is tapped from the view. Called from the main thread.
   * @since 6.23.0
   */
  didTapFinishButton(view: BarcodePickView): void;
}
/**
 * A container class consisting of an *itemData* (i.e. the data of a scanned code) and a *productIdentifier* (i.e. the string identifier of the product of which *itemData* consists of)
 * @since 6.19.0
 */
declare class BarcodePickProductProviderCallbackItem
  mixins DefaultSerializeable
{
  /**
   * Constructs a new instance containing the provided itemData and nullable productIdentifier.
   * @since 6.19.0
   */
  constructor(itemData: string, productIdentifier: string | null): this;

  /**
   * Returns the itemData provided on construction.
   * @since 6.19.0
   */
  itemData: string;

  /**
   * Returns the productIdentifier provided on construction. May be *null*.
   * @since 6.19.0
   */
  productIdentifier: string | null;
}
/**
 * Callback to notify that products for the given itemsData have been retrieved.
 * @since 6.19.0
 */
declare class BarcodePickProductProviderCallback {
  /**
   * The function to call in order to notify that products for the given scanned items have been retrieved. Each entry in the *data* list contains the scanned code and the (nullable) identifier of its corresponding product.
   * @since 6.19.0
   */
  onData(data: BarcodePickProductProviderCallbackItem[]): void;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.19.0
 */
declare interface BarcodePickAsyncMapperProductProviderCallback {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  productIdentifierForItems(
    itemsData: string[],
    callback: BarcodePickProductProviderCallback
  ): void;
}
/**
 * An enumeration of possible actions.
 * @since 8.2.0
 */

declare var BarcodePickAction: {|
  +None: "none", // "none"
  +Pick: "pick", // "pick"
  +Unpick: "unpick", // "unpick"
|};

/**
 * [object Object],[object Object],[object Object]
 * @since 6.19.0
 */
declare class BarcodePickViewSettings mixins DefaultSerializeable {
  static barcodePickDefaults: any;

  /**
   * Constructs a new *BarcodePickViewSettings* object with default values.
   * @since 6.22.0
   */
  constructor(): this;

  /**
   * The highlight style used by the view. Default is `RectangularWithIcons`.
   * @since 6.19.0
   */
  highlightStyle: BarcodePickViewHighlightStyle;
  -highlightStyle: any;

  /**
   * Enables or disables the loading dialog. Default is *true*.
   * @since 6.19.0
   */
  showLoadingDialog: boolean;
  -showLoadingDialog: any;

  /**
   * Indicates whether the finish button should be shown to the user. Default is *true*.
   * @since 6.22.0
   */
  showFinishButton: boolean;
  -showFinishButton: any;

  /**
   * Indicates whether the pause button should be shown to the user. Default is *true*.
   * @since 6.22.0
   */
  showPauseButton: boolean;
  -showPauseButton: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  showZoomButton: boolean;
  -showZoomButton: any;

  /**
   * Configures the text shown by the loading dialog when picking.
   * @since 7.3.0
   */
  loadingDialogTextForPicking: string;
  -loadingDialogTextForPicking: any;

  /**
   * Configures the text shown by the loading dialog when unpicking.
   * @since 7.3.0
   */
  loadingDialogTextForUnpicking: string;
  -loadingDialogTextForUnpicking: any;

  /**
   * Enables or disables the messages shown in the center of the view. Default is *true*.
   * @since 6.19.0
   */
  showGuidelines: boolean;
  -showGuidelines: any;

  /**
   * Configures the text shown when the mode is first launched.
   * @since 6.19.0
   */
  initialGuidelineText: string;
  -initialGuidelineText: any;

  /**
   * Configures the text shown when there are no barcodes detected on screen.
   * @since 6.19.0
   */
  moveCloserGuidelineText: string;
  -moveCloserGuidelineText: any;

  /**
   * Enables or disables the messages shown at the top of the view. Default is *true*.
   * @since 6.19.0
   */
  showHints: boolean;
  -showHints: any;

  /**
   * Configures the text shown when the first item to pick is recognized and shown on screen.
   * @since 6.19.0
   */
  onFirstItemToPickFoundHintText: string;
  -onFirstItemToPickFoundHintText: any;

  /**
   * Configures the text shown when the first item pick is completed.
   * @since 6.19.0
   */
  onFirstItemPickCompletedHintText: string;
  -onFirstItemPickCompletedHintText: any;

  /**
   * Configures the text shown when the first item that was not a target is picked.
   * @since 6.19.0
   */
  onFirstUnmarkedItemPickCompletedHintText: string;
  -onFirstUnmarkedItemPickCompletedHintText: any;

  /**
   * Configures the text shown when the user reverses a pick.
   * @since 6.19.0
   */
  onFirstItemUnpickCompletedHintText: string;
  -onFirstItemUnpickCompletedHintText: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  zoomButtonPosition: $Values<typeof Anchor$1>;
  -zoomButtonPosition: any;

  /**
   * Indicates whether the torch button should be shown to the user. Default is *false*.
   * @since 8.2.0
   */
  showTorchButton: boolean;
  -showTorchButton: any;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  torchButtonPosition: $Values<typeof Anchor$1>;
  -torchButtonPosition: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoStyle: $Values<typeof LogoStyle$1>;
  -logoStyle: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.6.0
   */
  logoAnchor: $Values<typeof Anchor$1>;
  -logoAnchor: any;

  /**
   * Configures the text shown to suggest the user to pause the scanning to pick items.
   * @since 8.2.0
   */
  tapShutterToPauseGuidelineText: string;
  -tapShutterToPauseGuidelineText: any;

  /**
   * @since 8.2.0
   */
  hardwareTriggerEnabled: boolean;
  -hardwareTriggerEnabled: any;

  /**
   * Use this property to configure the appearance of the barcodes that are filtered. Default is *null*, filtered barcodes won’t be visualized.
   * @since 8.2.0
   */
  filterHighlightSettings: BarcodeFilterHighlightSettings | null;
  -filterHighlightSettings: any;

  /**
   * Can be used to specify the vertical offset (for Portrait, horizontal for Landscape) for the UI buttons.
   *
   * Will be applied only when running on Android. Default value is 32dp.
   * @since 8.2.0
   */
  uiButtonsOffset: NumberWithUnit | null;
  -uiButtonsOffset: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  hardwareTriggerKeyCode: number | null;
  -hardwareTriggerKeyCode: any;
}
/**
 * @since 6.23.0
 */
declare interface BarcodePickViewListener {
  /**
   * Callback method invoked when the view starts scanning. Called from the main thread.
   * @since 6.23.0
   */
  didStartScanning(view: BarcodePickView): void;

  /**
   * Callback method invoked when the scanning is stopped. Called from the main thread.
   * @since 6.23.0
   */
  didStopScanning(view: BarcodePickView): void;

  /**
   * Callback method invoked the scanning is freezed. Called from the main thread.
   * @since 6.23.0
   */
  didFreezeScanning(view: BarcodePickView): void;

  /**
   * Callback method invoked when the scanning is paused. Called from the main thread.
   * @since 6.23.0
   */
  didPauseScanning(view: BarcodePickView): void;
}
/**
 * @internal
 */
declare interface BarcodePickActionCallbackControllerHost {
  finishPickAction(itemData: string, result: boolean): Promise<void>;
}
/**
 * Used by the user to confirm actions.
 * @since 6.19.0
 */
declare class BarcodePickActionCallback {
  /**
   * Invoke this method to provide the result of the action.
   *
   * - *response* If *true* the action is confirmed.
   * @since 6.19.0
   */
  onFinish(result: boolean): void;
}
declare interface PrivateBarcodePickCallback {
  _viewController: BarcodePickActionCallbackControllerHost;
  _itemData: string;
}
/**
 * Will be notified when an action is performed by the user.
 * @since 6.19.0
 */
declare interface BarcodePickActionListener {
  /**
   * This method will be called when the user taps on a code that is not picked.
   * @since 6.19.0
   */
  didPickItem(data: string, callback: BarcodePickActionCallback): void;

  /**
   * This method will be called when the user taps on a code that is already picked.
   * @since 6.19.0
   */
  didUnpickItem(data: string, callback: BarcodePickActionCallback): void;
}
declare interface BarcodePickViewControllerHost {
  +viewId: number;
  +barcodePick: BarcodePick;
  +settings: BarcodePickViewSettings;
  +uiListener: BarcodePickViewUiListener | null;
  +listeners: BarcodePickViewListener[];
  +actionListeners: BarcodePickActionListener[];
  toJSON(): { [key: string]: any };
}
declare type BarcodePickViewProxy = {
  $createPickView(x: {
    viewId: number,
    json: string,
    ...
  }): Promise<void>,
  $removePickView(x: {
    viewId: number,
    ...
  }): Promise<void>,
  $setPickViewPositionAndSize(x: {
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean,
    ...
  }): Promise<void>,
  ...
} & BarcodeProxy;

declare var BarcodePickViewEvents: {|
  +didStartScanning: "BarcodePickViewListener.didStartScanning", // "BarcodePickViewListener.didStartScanning"
  +didFreezeScanning: "BarcodePickViewListener.didFreezeScanning", // "BarcodePickViewListener.didFreezeScanning"
  +didPauseScanning: "BarcodePickViewListener.didPauseScanning", // "BarcodePickViewListener.didPauseScanning"
  +didStopScanning: "BarcodePickViewListener.didStopScanning", // "BarcodePickViewListener.didStopScanning"
|};

declare var BarcodePickViewUiEvents: {|
  +didTapFinishButton: "BarcodePickViewUiListener.didTapFinishButton", // "BarcodePickViewUiListener.didTapFinishButton"
|};

declare var BarcodePickAsyncMapperProductProviderEvents: {|
  +onProductIdentifierForItems: "BarcodePickAsyncMapperProductProviderCallback.onProductIdentifierForItems", // "BarcodePickAsyncMapperProductProviderCallback.onProductIdentifierForItems"
|};

declare var BarcodePickScanningEvents: {|
  +didCompleteScanningSession: "BarcodePickScanningListener.didCompleteScanningSession", // "BarcodePickScanningListener.didCompleteScanningSession"
  +didUpdateScanningSession: "BarcodePickScanningListener.didUpdateScanningSession", // "BarcodePickScanningListener.didUpdateScanningSession"
|};

declare var BarcodePickActionEvents: {|
  +didPick: "BarcodePickActionListener.didPick", // "BarcodePickActionListener.didPick"
  +didUnpick: "BarcodePickActionListener.didUnpick", // "BarcodePickActionListener.didUnpick"
|};

declare var BarcodePickListenerEvents: {|
  +didUpdateSession: "BarcodePickListener.didUpdateSession", // "BarcodePickListener.didUpdateSession"
|};

declare var BarcodePickViewHighlightStyleEvents: {|
  +requestHighlightStyle: "BarcodePickViewHighlightStyleAsyncProvider.styleForRequest", // "BarcodePickViewHighlightStyleAsyncProvider.styleForRequest"
|};

declare var BarcodePickViewHighlightStyleCustomViewEvents: {|
  +requestCustomView: "BarcodePickViewHighlightStyleCustomViewProvider.viewForRequest", // "BarcodePickViewHighlightStyleCustomViewProvider.viewForRequest"
|};
declare class BarcodePickViewController
  mixins BaseController<BarcodePickViewProxy>
{
  constructor(view: BarcodePickViewControllerHost): this;
  start(): Promise<void>;
  stop(): Promise<void>;
  freeze(): Promise<void>;
  reset(): Promise<void>;
  pause(): Promise<void>;
  resume(): Promise<void>;
  finishPickAction(itemData: string, result: boolean): Promise<void>;
  createNativeView(): Promise<void>;
  removeNativeView(viewId?: number): Promise<void>;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  dispose(): void;
  subscribeScanningListener(): Promise<void>;
  unsubscribeScanningListener(): Promise<void>;
  subscribePickListener(): Promise<void>;
  unsubscribePickListener(): Promise<void>;
  registerUiListener(): Promise<void>;
  unregisterUiListener(): Promise<void>;
  setUiListener(listener: BarcodePickViewUiListener | null): Promise<void>;
  subscribeActionListeners(): Promise<void>;
  unsubscribeActionListeners(): Promise<void>;
  subscribePickViewListeners(): Promise<void>;
  unsubscribePickViewListeners(): Promise<void>;
  registerProductListener(
    callback: BarcodePickAsyncMapperProductProviderCallback
  ): Promise<void>;
  unregisterProductListener(): Promise<void>;
  subscribeHighlightStyleListener(): Promise<void>;
  unsubscribeHighlightStyleListener(): Promise<void>;
  subscribeCustomViewStyleListener(): Promise<void>;
  unsubscribeCustomViewStyleListener(): Promise<void>;
  finishOnProductIdentifierForItems(
    data: BarcodePickProductProviderCallbackItem[]
  ): Promise<void>;
  confirmActionForItem(data: string): Promise<void>;
  cancelActionForItem(data: string): Promise<void>;
  selectItem(data: string): Promise<$Values<typeof BarcodePickAction>>;
  updateProductList(products: {
    [key: string]: number,
  }): Promise<void>;
  isViewCreated: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.19.0
 */
declare interface BarcodePickProductProvider {}
declare interface PrivateBarcodePickProductProvider {
  _controller: BarcodePickViewController | null;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 6.23.0
 */
declare class BarcodePickScanningSession {
  /**
   * Sets of barcodes represented by their data that are picked.
   * @since 6.23.0
   */
  pickedItems: string[];

  /**
   * Sets of barcodes represented by their data that are scanned.
   * @since 6.23.0
   */
  scannedItems: string[];
}
declare interface BarcodePickScanningSessionJSON {
  pickedObjects: string[];
  scannedObjects: string[];
}
declare interface PrivateBarcodePickScanningSession {
  fromJSON(json: BarcodePickScanningSessionJSON): BarcodePickScanningSession;
}
/**
 * Will be notified when a scanning session is updated.
 * @since 6.23.0
 */
declare interface BarcodePickScanningListener {
  /**
   * This method will be called whenever an item is picked or unpicked or new items scanned.
   * @since 6.23.0
   */
  didUpdateScanningSession(
    barcodePick: BarcodePick,
    session: BarcodePickScanningSession
  ): void;

  /**
   * This method will be called when scanning session is completed.
   *
   * That is, when BarcodePickView.release() is called.
   * @since 6.23.0
   */
  didCompleteScanningSession(
    barcodePick: BarcodePick,
    session: BarcodePickScanningSession
  ): void;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.5.0
 */
declare class BarcodePickSession {
  /**
   * A set containing the data of all the barcodes that are currently tracked on screen.
   * @since 7.5.0
   */
  trackedItems: string[];

  /**
   * A set containing the data of the barcodes that were scanned in the last frame.
   * @since 7.5.0
   */
  addedItems: string[];

  /**
   * A set containing all of the objects that are currently tracked on screen.
   * @since 8.2.0
   */
  trackedObjects: TrackedObject[];

  /**
   * A set containing all of the objects that were scanned in the last frame.
   * @since 8.2.0
   */
  addedObjects: TrackedObject[];
}
declare interface BarcodePickSessionJSON {
  trackedItems: string[];
  addedItems: string[];
  trackedObjects: TrackedObjectJSON[];
  addedObjects: TrackedObjectJSON[];
}
declare interface PrivateBarcodePickSession {
  fromJSON(json: BarcodePickSessionJSON): BarcodePickSession;
}
/**
 * A listener that will be called every frame.
 * @since 7.5.0
 */
declare interface BarcodePickListener {
  /**
   * This method will be called every time a frame is processed. An updated session object is passed.
   * @since 7.5.0
   */
  didUpdateSession(barcodePick: BarcodePick, session: BarcodePickSession): void;
}
/**
 * Capture mode that implements barcode pick.
 * @since 6.19.0
 */
declare class BarcodePick mixins DefaultSerializeable {
  controller: any;
  -controller: any;
  static barcodePickDefaults: any;

  /**
   * Returns the recommended camera settings to use with the mode.
   * @since 6.19.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  constructor(
    dataCaptureContext: DataCaptureContext,
    settings: BarcodePickSettings,
    productProvider: BarcodePickProductProvider
  ): this;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.23.0
   */
  addScanningListener(listener: BarcodePickScanningListener): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.23.0
   */
  removeScanningListener(listener: BarcodePickScanningListener): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.5.0
   */
  addListener(listener: BarcodePickListener): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.5.0
   */
  removeListener(listener: BarcodePickListener): Promise<void>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  selectItem(data: string): Promise<$Values<typeof BarcodePickAction>>;

  /**
   * Confirms the action for the item with the given data. No action is performed if the item is not currently selected.
   * @since 8.2.0
   */
  confirmActionForItem(data: string): Promise<void>;

  /**
   * Cancels the action for the item with the given data.
   * @since 8.2.0
   */
  cancelActionForItem(data: string): Promise<void>;
}
declare interface PrivateBarcodePick {
  privateContext: DataCaptureContext | null;
  controller: BarcodePickViewController | null;
  listeners: BarcodePickScanningListener[];
  modeListeners: BarcodePickListener[];
  _productProvider: BarcodePickProductProvider;
  isInListenerCallback: boolean;
  didChange: () => Promise<void>;
  _hasScanningListeners: boolean;
  _hasListeners: boolean;
}
/**
 * Represents a product to be picked.
 * @since 6.19.0
 */
declare class BarcodePickProduct mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  constructor(identifier: string, quantityToPick: number): this;

  /**
   * The unique identifier for this product.
   * @since 6.19.0
   */
  identifier: string;

  /**
   * How many of this product need to be picked.
   * @since 6.19.0
   */
  quantityToPick: number;
}
declare var asyncMapperProductProviderBrand: Symbol;
/**
 * Usage example:
 *
 * ```javascript
 * const products = [
 *   new BarcodePickProduct("780846124122", 2),
 *   new BarcodePickProduct("750865926478", 1),
 *   new BarcodePickProduct("984579832123", 4),
 * ]
 *
 * const productProviderCallback = {
 *   productIdentifierForItems: (itemsData, callback) => {
 *     myDb.findAndMapProductsForItemsData(items).then((value) => {
 *       callback.onData(value);
 *     });
 *   }
 * };
 *
 * const productProvider = new BarcodePickAsyncMapperProductProvider(products, productProviderCallback);
 * ```
 * @since 6.19.0
 */
declare class BarcodePickAsyncMapperProductProvider
  mixins DefaultSerializeable
  implements BarcodePickProductProvider
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.19.0
   */
  constructor(
    productsToPick: BarcodePickProduct[],
    callback: BarcodePickAsyncMapperProductProviderCallback
  ): this;

  /**
   * Replaces the products database to the newly provided list. This will reset scanning and all the previous picking progress will be lost.
   * @since 8.2.0
   */
  updateProductList(products: BarcodePickProduct[]): Promise<void>;
}
declare class BaseBarcodePickView
  mixins DefaultSerializeable
  implements BarcodePickView
{
  barcodePick: BarcodePick;
  settings: BarcodePickViewSettings;
  cameraSettings: CameraSettings$1;

  /**
   * Resolves true once this view's native counterpart exists, false if it
   * never will (creation failed, timed out, or the view was torn down).
   *
   * Callers that arrive before creation has been kicked off park until it is,
   * bounded by VIEW_CREATION_PRE_BEGIN_TIMEOUT_MS; once a creation cycle is in
   * flight the bound is VIEW_CREATION_TIMEOUT_MS. Reachable on Cordova/Capacitor
   * when a view method runs before connectToElement().
   * @internal Not part of the documented API surface: it exists so the base
   * view's own action methods can await creation, and is public only because
   * the framework plugins reach it across package boundaries.
   */
  whenViewCreated(): Promise<boolean>;
  viewId: number;
  context: DataCaptureContext | null;
  -context: any;
  uiListener: BarcodePickViewUiListener | null;
  -uiListener: any;
  constructor(x: {
    context: DataCaptureContext | null,
    barcodePick: BarcodePick,
    settings: BarcodePickViewSettings,
    cameraSettings: CameraSettings$1,
    ...
  }): this;
  createNativeView(viewId: number): Promise<void>;
  removeNativeView(): Promise<void>;
  dispose(): void;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  start(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  stop(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  freeze(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  pause(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  resume(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  reset(): Promise<void>;
  addActionListener(listener: BarcodePickActionListener): void;
  removeActionListener(listener: BarcodePickActionListener): void;
  addListener(listener: BarcodePickViewListener): void;
  removeListener(listener: BarcodePickViewListener): void;
  setPickViewPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  toJSON(): { [key: string]: any };
}
declare interface PrivateBarcodePickView {
  listeners: BarcodePickViewListener[];
  actionListeners: BarcodePickActionListener[];
  toJSON(): { [key: string]: any };
}
/**
 * This class encapsulates a style request for an highlight. It provides the item data, the product identifier if already mapped and the state.
 * @since 8.2.0
 */
declare class BarcodePickViewHighlightStyleRequest {
  /**
   * The barcode data.
   * @since 8.2.0
   */
  itemData: string;

  /**
   * The item data that was provided during the mapping, if available.
   * @since 8.2.0
   */
  productIdentifier: string | null;

  /**
   * The state of the the scanned item.
   * @since 8.2.0
   */
  state: $Values<typeof BarcodePickState>;
  constructor(): this;
}
/**
 * This holds the style data for the status icons.
 * @since 8.2.0
 */
declare class BarcodePickStatusIconStyle mixins DefaultSerializeable {
  /**
   * Constructs a new instance that will display the provided icon and text.
   * @since 8.2.0
   */
  static withIcon(iconBase64: string, text: string): BarcodePickStatusIconStyle;

  /**
   * Constructs a new instance that will display the provided icon and text.
   * @since 8.2.0
   */
  static withScanditIcon(
    icon: ScanditIcon,
    text: string
  ): BarcodePickStatusIconStyle;

  /**
   * Constructs a new instance that will display the default icon, an exclamation mark. The icon will be customized with the provided colors.
   * @since 8.2.0
   */
  static withColors(
    iconColor: Color$1,
    iconBackgroundColor: Color$1,
    text: string
  ): BarcodePickStatusIconStyle;
  constructor(): this;
}
/**
 * Create this object to respond to highlight style queries.
 * @since 8.2.0
 */
declare class BarcodePickViewHighlightStyleResponse
  mixins DefaultSerializeable
{
  /**
   * Constructs a new instance with the passed brush and icon.
   * @since 8.2.0
   */
  static withBrushAndIcon(
    brush: Brush$1 | null,
    icon: string | null,
    statusIconStyle: BarcodePickStatusIconStyle | null
  ): BarcodePickViewHighlightStyleResponse;

  /**
   * Constructs a new instance with the passed brushes and icons.
   * @since 8.2.0
   */
  static withSelectedBrushAndIcon(
    brush: Brush$1 | null,
    selectedBrush: Brush$1 | null,
    icon: string | null,
    selectedIcon: string | null,
    statusIconStyle: BarcodePickStatusIconStyle | null
  ): BarcodePickViewHighlightStyleResponse;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  static withBrushAndScanditIcon(
    brush: Brush$1 | null,
    scanditIcon: ScanditIcon | null,
    statusIconStyle: BarcodePickStatusIconStyle | null
  ): BarcodePickViewHighlightStyleResponse;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  static withSelectedBrushAndScanditIcon(
    brush: Brush$1 | null,
    selectedBrush: Brush$1 | null,
    scanditIcon: ScanditIcon | null,
    selectedScanditIcon: ScanditIcon | null,
    statusIconStyle: BarcodePickStatusIconStyle | null
  ): BarcodePickViewHighlightStyleResponse;

  /**
   * Creates a new builder for constructing a BarcodePickViewHighlightStyleResponse.
   * @since 8.2.0
   */
  static builder(): BarcodePickViewHighlightStyleResponseBuilder;
  constructor(): this;
}
/**
 * Builder for creating BarcodePickViewHighlightStyleResponse instances with various configurations.
 * @since 8.2.0
 */
declare class BarcodePickViewHighlightStyleResponseBuilder {
  /**
   * Creates a new instance of the builder.
   * @since 8.2.0
   */
  constructor(): this;

  /**
   * Sets the brush to be used for highlighting barcodes.
   * @since 8.2.0
   */
  withBrush(brush: Brush$1 | null): this;

  /**
   * Sets the brush to be used for highlighting selected barcodes.
   * @since 8.2.0
   */
  withSelectedBrush(selectedBrush: Brush$1 | null): this;

  /**
   * Sets the icon to be displayed using a bitmap.
   * @since 8.2.0
   */
  withIcon(icon: string | null): this;

  /**
   * Sets the icon to be displayed for selected items using a bitmap.
   * @since 8.2.0
   */
  withSelectedIcon(selectedIcon: string | null): this;

  /**
   * Sets the icon to be displayed using a ScanditIcon.
   * @since 8.2.0
   */
  withScanditIcon(scanditIcon: ScanditIcon | null): this;

  /**
   * Sets the icon to be displayed for selected items using a ScanditIcon.
   * @since 8.2.0
   */
  withSelectedScanditIcon(selectedScanditIcon: ScanditIcon | null): this;

  /**
   * Sets the style for status icons.
   * @since 8.2.0
   */
  withStatusIconStyle(statusIconStyle: BarcodePickStatusIconStyle | null): this;

  /**
   * Builds and returns a new BarcodePickViewHighlightStyleResponse with the configured settings.
   * @since 8.2.0
   */
  build(): BarcodePickViewHighlightStyleResponse;
}
/**
 * @since 8.2.0
 */
declare interface BarcodePickViewHighlightStyleAsyncProvider {
  /**
   * This method will be called every time a style for an item is needed.
   * @since 8.2.0
   */
  styleForRequest(
    request: BarcodePickViewHighlightStyleRequest
  ): Promise<BarcodePickViewHighlightStyleResponse | null>;
}
/**
 * Use this class to customize the status icons in styles that support it.
 * @since 6.28.0
 */
declare class BarcodePickStatusIconSettings mixins DefaultSerializeable {
  /**
   * Creates a new BarcodePickStatusIconSettings instance with default values.
   * @since 8.2.0
   */
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.28.0
   */
  ratioToHighlightSize: number;
  -ratioToHighlightSize: any;

  /**
   * The minimum size allowed for status icons.
   *
   * Default is 20 dp.
   * @since 6.28.0
   */
  minSize: number;
  -minSize: any;

  /**
   * The maximum size allowed for status icons.
   *
   * Default is no maximum, INT_MAX.
   * @since 6.28.0
   */
  maxSize: number;
  -maxSize: any;
  static barcodePickDefaults: any;
}
declare interface PrivateBarcodePickStatusIconSettings {
  fromJSON(json: any): BarcodePickStatusIconSettings;
}
/**
 * A style that will draw dots on top of barcodes.
 * @since 6.23.0
 */
declare class Dot
  mixins DefaultSerializeable
  implements BarcodePickViewHighlightStyle
{
  static barcodePickDefaults: any;

  /**
   * Creates a new instance with default values.
   * @since 6.23.0
   */
  constructor(): this;

  /**
   * Gets the brush used for the passed pick state.
   * @since 6.23.0
   */
  getBrushForState(state: $Values<typeof BarcodePickState>): Brush$1;

  /**
   * Use this method to configure the brush used for the specific pick state.
   * @since 6.23.0
   */
  setBrushForState(
    brush: Brush$1,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Gets the brush used when items in the passed pick state are selected. If *null*, selected items are drawn with the same brush as non-selected items in the same state. Default is *null* for all states.
   * @since 8.2.0
   */
  getSelectedBrushForState(
    state: $Values<typeof BarcodePickState>
  ): Brush$1 | null;

  /**
   * Use this method to configure the brush used when items in the specific pick state are selected. Pass *null* to draw selected items with the same brush as non-selected items in the same state.
   * @since 8.2.0
   */
  setSelectedBrushForState(
    brush: Brush$1 | null,
    state: $Values<typeof BarcodePickState>
  ): void;
}
/**
 * A style that will draw dots on top of barcodes, the highlights also have icons drawn on top.
 * @since 6.23.0
 */
declare class DotWithIcons
  mixins DefaultSerializeable
  implements BarcodePickViewHighlightStyle
{
  /**
   * Sets a delegate to override asynchronously the style of the highlights depending on each item’s code and state.
   * @since 8.2.0
   */
  asyncStyleProvider: BarcodePickViewHighlightStyleAsyncProvider | null;
  -asyncStyleProvider: any;
  static barcodePickDefaults: any;

  /**
   * Creates a new instance with default values.
   * @since 6.23.0
   */
  constructor(): this;

  /**
   * Gets the brush used for the passed pick state.
   * @since 6.23.0
   */
  getBrushForState(state: $Values<typeof BarcodePickState>): Brush$1;

  /**
   * Use this method to configure the brush used for the specific pick state.
   * @since 6.23.0
   */
  setBrushForState(
    brush: Brush$1,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Use this method to configure the icon used for the specific pick state.
   *
   * A base64 encoded image string. For example: iVBORw0KGgoAAAANS….
   *
   * The icon is shown with a size of 18x18 dp.
   * @since 6.23.0
   */
  setIconForState(image: string, state: $Values<typeof BarcodePickState>): void;

  /**
   * Gets the brush used when items in the passed pick state are selected. If *null*, selected items are drawn with the same brush as non-selected items in the same state. Default is *null* for all states.
   * @since 8.2.0
   */
  getSelectedBrushForState(
    state: $Values<typeof BarcodePickState>
  ): Brush$1 | null;

  /**
   * Use this method to configure the brush used when items in the specific pick state are selected. Pass *null* to draw selected items with the same brush as non-selected items in the same state.
   * @since 8.2.0
   */
  setSelectedBrushForState(
    brush: Brush$1 | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Use this method to configure the icon used for the specific pick state using a resource.
   *
   * The icon is shown with a size of 18x18 dp.
   * @since 8.2.0
   */
  setIconForStateWithScanditIcon(
    icon: ScanditIcon,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Use this method to configure the icon used when items in the specific pick state are selected. If *null*, selected items use the same icon as non-selected items in the same state. Default is *null* for all states.
   *
   * A base64 encoded image string. For example: iVBORw0KGgoAAAANS….
   * @since 8.2.0
   */
  setSelectedIconForState(
    icon: string | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  setSelectedIconForStateWithScanditIcon(
    icon: ScanditIcon | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  styleResponseCacheEnabled: boolean;
  -styleResponseCacheEnabled: any;
}
/**
 * A style that will draw rectangles on top of barcodes.
 * @since 6.19.0
 */
declare class Rectangular
  mixins DefaultSerializeable
  implements BarcodePickViewHighlightStyle
{
  static barcodePickDefaults: any;

  /**
   * Creates a new instance with default values.
   * @since 6.19.0
   */
  constructor(): this;

  /**
   * Gets the brush used for the passed pick state.
   * @since 6.19.0
   */
  getBrushForState(state: $Values<typeof BarcodePickState>): Brush$1;

  /**
   * Use this method to configure the brush used for the specific pick state.
   * @since 6.19.0
   */
  setBrushForState(
    brush: Brush$1,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Gets the brush used when items in the passed pick state are selected. If *null*, selected items are drawn with the same brush as non-selected items in the same state. Default is *null* for all states.
   * @since 8.2.0
   */
  getSelectedBrushForState(
    state: $Values<typeof BarcodePickState>
  ): Brush$1 | null;

  /**
   * Use this method to configure the brush used when items in the specific pick state are selected. Pass *null* to draw selected items with the same brush as non-selected items in the same state.
   * @since 8.2.0
   */
  setSelectedBrushForState(
    brush: Brush$1 | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Minimum height for the highlights. Default is 40dp.
   * @since 6.28.0
   */
  minimumHighlightHeight: number;
  -minimumHighlightHeight: any;

  /**
   * Minimum width for the highlights. Default is 40dp.
   * @since 6.28.0
   */
  minimumHighlightWidth: number;
  -minimumHighlightWidth: any;
}
/**
 * A style that will draw rectangles on top of barcodes, the highlights can also have icons drawn on top.
 * @since 6.19.0
 */
declare class RectangularWithIcons
  mixins DefaultSerializeable
  implements BarcodePickViewHighlightStyle
{
  static barcodePickDefaults: any;

  /**
   * Creates a new instance with default values.
   * @since 6.19.0
   */
  constructor(): this;

  /**
   * Gets the brush used for the passed pick state.
   * @since 6.19.0
   */
  getBrushForState(state: $Values<typeof BarcodePickState>): Brush$1;

  /**
   * Use this method to configure the brush used for the specific pick state.
   * @since 6.19.0
   */
  setBrushForState(
    brush: Brush$1,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Use this method to configure the icon used for the specific pick state.
   *
   * A base64 encoded image string. For example: data:image/png;base64,iVBORw0KGgoAAAANS….
   * @since 6.23.0
   */
  setIconForState(image: string, state: $Values<typeof BarcodePickState>): void;

  /**
   * Gets the brush used when items in the passed pick state are selected. If *null*, selected items are drawn with the same brush as non-selected items in the same state. Default is *null* for all states.
   * @since 8.2.0
   */
  getSelectedBrushForState(
    state: $Values<typeof BarcodePickState>
  ): Brush$1 | null;

  /**
   * Use this method to configure the brush used when items in the specific pick state are selected. Pass *null* to draw selected items with the same brush as non-selected items in the same state.
   * @since 8.2.0
   */
  setSelectedBrushForState(
    brush: Brush$1 | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Use this method to configure the icon used for the specific pick state using a resource.
   * @since 8.2.0
   */
  setIconForStateWithScanditIcon(
    icon: ScanditIcon,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * Use this method to configure the icon used when items in the specific pick state are selected. If *null*, selected items use the same icon as non-selected items in the same state. Default is *null* for all states.
   * @since 8.2.0
   */
  setSelectedIconForState(
    icon: string | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  setSelectedIconForStateWithScanditIcon(
    icon: ScanditIcon | null,
    state: $Values<typeof BarcodePickState>
  ): void;

  /**
   * The settings used to customize the status icons.
   * @since 6.28.0
   */
  statusIconSettings: BarcodePickStatusIconSettings;
  -statusIconSettings: any;

  /**
   * Minimum height for the highlights. Default is 40dp.
   * @since 6.28.0
   */
  minimumHighlightHeight: number;
  -minimumHighlightHeight: any;

  /**
   * Minimum width for the highlights. Default is 40dp.
   * @since 6.28.0
   */
  minimumHighlightWidth: number;
  -minimumHighlightWidth: any;

  /**
   * Sets a delegate to override asynchronously the style of the highlights depending on each item’s code and state.
   * @since 8.2.0
   */
  asyncStyleProvider: BarcodePickViewHighlightStyleAsyncProvider | null;
  -asyncStyleProvider: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.2.0
   */
  styleResponseCacheEnabled: boolean;
  -styleResponseCacheEnabled: any;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.4.0
 */
declare class BarcodePickViewHighlightStyleCustomViewResponse
  mixins DefaultSerializeable
{
  /**
   * [object Object],[object Object],[object Object]
   * @since 8.4.0
   */
  static create(
    view: string | null,
    statusIconStyle: BarcodePickStatusIconStyle | null
  ): BarcodePickViewHighlightStyleCustomViewResponse;
  constructor(): this;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 8.4.0
 */
declare interface BarcodePickViewHighlightStyleCustomViewProvider {
  /**
   * This method will be called every time the view for an item is needed.
   * @since 8.4.0
   */
  viewForRequest(
    request: BarcodePickViewHighlightStyleRequest
  ): Promise<BarcodePickViewHighlightStyleCustomViewResponse | null>;
}
/**
 * A style that will allow the user to provide their own views to be displayed on top of barcodes.
 * @since 8.4.0
 */
declare class BarcodePickViewHighlightStyleCustomView
  mixins DefaultSerializeable
  implements BarcodePickViewHighlightStyle
{
  static barcodePickDefaults: any;

  /**
   * Creates a new instance with default values and no view provider.
   * @since 8.4.0
   */
  constructor(): this;

  /**
   * If *true* the view size will be adjusted to cover the barcode. Defaults to *false*.
   * @since 8.4.0
   */
  fitViewsToBarcode: boolean;
  -fitViewsToBarcode: any;

  /**
   * The settings used to customize the status icons.
   * @since 8.4.0
   */
  statusIconSettings: BarcodePickStatusIconSettings;
  -statusIconSettings: any;

  /**
   * Minimum width for the highlights. Default is 40dp.
   * @since 8.4.0
   */
  minimumHighlightWidth: number;
  -minimumHighlightWidth: any;

  /**
   * Minimum height for the highlights. Default is 40dp.
   * @since 8.4.0
   */
  minimumHighlightHeight: number;
  -minimumHighlightHeight: any;

  /**
   * Sets a delegate that will provide the views to be displayed.
   * @since 8.4.0
   */
  asyncCustomViewProvider: BarcodePickViewHighlightStyleCustomViewProvider | null;
  -asyncCustomViewProvider: any;
}
declare interface BarcodePickModeHost {
  dispatchDidCompleteScanningSession(session: BarcodePickScanningSession): void;
  dispatchDidUpdateScanningSession(session: BarcodePickScanningSession): void;
  dispatchDidUpdateSession(session: BarcodePickSession): void;
}
declare interface BarcodePickViewEventHandlersViewHost {
  +viewId: number;
  +settings: BarcodePickViewSettings;
  +uiListener: BarcodePickViewUiListener | null;
  +listeners: BarcodePickViewListener[];
  +actionListeners: BarcodePickActionListener[];
}
declare class BarcodePickViewEventHandlers {
  constructor(
    view: BarcodePickViewEventHandlersViewHost,
    barcodePick: BarcodePickModeHost,
    adapter: BarcodeProxyAdapter,
    viewController: BarcodePickActionCallbackControllerHost
  ): this;
  setBarcodePickMapperCallback(
    callback: BarcodePickAsyncMapperProductProviderCallback
  ): void;
  handleDidCompleteScanningSession(ev: EventPayload): void;
  handleDidUpdateScanningSession(ev: EventPayload): void;
  handleDidPick(ev: EventPayload): void;
  handleDidUnpick(ev: EventPayload): void;
  handleDidTapFinishButton(ev: EventPayload): void;
  handleDidStartScanning(ev: EventPayload): void;
  handleDidFreezeScanning(ev: EventPayload): void;
  handleDidPauseScanning(ev: EventPayload): void;
  handleDidStopScanning(ev: EventPayload): void;
  handleProductIdentifierForItems(ev: EventPayload): void;
  handleDidUpdateSession(ev: EventPayload): void;
  handleRequestHighlightStyle(ev: EventPayload): Promise<void>;
  handleRequestCustomView(ev: EventPayload): Promise<void>;
}
/**
 * [object Object],[object Object],[object Object],[object Object],[object Object]
 * @since 6.22.0
 */
declare class BarcodeFindFeedback mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  found: Feedback$1;
  -found: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  itemListUpdated: Feedback$1;
  -itemListUpdated: any;
  static barcodeFindDefaults: any;

  /**
   * Returns a barcode find feedback with default configuration:
   *
   * - default beep sound is loaded,
   * - beeping for the success event is enabled,
   * - vibration for the success event is enabled.
   * @since 6.22.0
   */
  static defaultFeedback: BarcodeFindFeedback;
}
/**
 * @since 6.22.0
 */
declare class BarcodeFindSettings mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  constructor(): this;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  settingsForSymbology(
    symbology: $Values<typeof Symbology>
  ): SymbologySettings$1;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  enableSymbologies(symbologies: $Values<typeof Symbology>[]): void;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  enableSymbology(symbology: $Values<typeof Symbology>, enabled: boolean): void;

  /**
   * Returns the set of enabled symbologies.
   * @since 6.22.0
   */
  enabledSymbologies: $Values<typeof Symbology>[];

  /**
   * Sets property to the provided value. Use this method to set properties that are not yet part of a stable API. Properties set through this method may or may not be used or change in a future release.
   * @since 6.22.0
   */
  setProperty(name: string, value: any): void;

  /**
   * Retrieves the value of a previously set property.
   * @since 6.22.0
   */
  getProperty(name: string): any;
}
/**
 * An object that defines the search options.
 * @since 6.22.0
 */
declare class BarcodeFindItemSearchOptions mixins DefaultSerializeable {
  /**
   * [object Object],[object Object],[object Object]
   * @since 7.2.0
   */
  static withBrush(
    barcodeData: string,
    brush: Brush$1 | null
  ): BarcodeFindItemSearchOptions;

  /**
   * Creates a new BarcodeFindItemSearchOptions object with the provided barcode data.
   * @since 6.22.0
   */
  constructor(barcodeData: string): this;

  /**
   * The barcode data as a string.
   * @since 6.22.0
   */
  barcodeData: string;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.2.0
   */
  brush: Brush$1 | null;
}
/**
 * An object that contains additional info about the product.
 * @since 6.22.0
 */
declare class BarcodeFindItemContent mixins DefaultSerializeable {
  /**
   * @since 6.22.0
   */
  constructor(info?: string, additionalInfo?: string, image?: string): this;

  /**
   * Optional item name.
   * @since 6.22.0
   */
  info: string | null;

  /**
   * Optional item details.
   * @since 6.22.0
   */
  additionalInfo: string | null;

  /**
   * Optional item image.
   * @since 6.22.0
   */
  image: string | null;
}
/**
 * An object that represents an item in Barcode Find.
 * @since 6.22.0
 */
declare class BarcodeFindItem mixins DefaultSerializeable {
  /**
   * @since 6.22.0
   */
  constructor(
    searchOptions: BarcodeFindItemSearchOptions,
    content: BarcodeFindItemContent | null
  ): this;

  /**
   * The item data to search, and any other option that control the search.
   * @since 6.22.0
   */
  searchOptions: BarcodeFindItemSearchOptions;

  /**
   * Optional info about the item.
   * @since 6.22.0
   */
  content: BarcodeFindItemContent | null;
  toJSON(): BarcodeFindItem$1;
}
/**
 * @since 7.4.0
 */
declare class BarcodeFindSession {
  /**
   * An array containing all the tracked barcodes.
   * @since 7.4.0
   */
  trackedBarcodes: TrackedBarcode[];
}
/**
 * Listener interface for BarcodeFind.
 * @since 6.22.0
 */
declare interface BarcodeFindListener {
  /**
   * Invoked whenever the search process has been started.
   *
   * This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.
   * @since 6.22.0
   */
  didStartSearch(): void;

  /**
   * Invoked whenever the search process has been paused. The foundItems parameter contains all the items found on the last processed camera frame.
   *
   * This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.
   * @since 6.22.0
   */
  didPauseSearch(foundItems: BarcodeFindItem[]): void;

  /**
   * Invoked whenever the search process has been stopped. The foundItems parameter contains all the items found since the start of the process.
   *
   * This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.
   * @since 6.22.0
   */
  didStopSearch(foundItems: BarcodeFindItem[]): void;

  /**
   * Invoked on each frame. The session parameter contains the currently tracked barcodes.
   *
   * This method is invoked from a recognition internal thread. To perform UI work, you must dispatch to the main thread first.
   * @since 7.4.0
   */
  didUpdateSession(session: BarcodeFindSession): void;
}
/**
 * Transformer interface for Barcode Find.
 * @since 6.24.0
 */
declare interface BarcodeFindTransformer {
  /**
   * Invoked for each detected barcode. The implementation should return the same barcode data, which may or may not be transformed from the original, or *null* if the barcode should be ignored entirely. Note that this method is executed on a background thread.
   * @since 6.24.0
   */
  transformBarcodeData(data: string | null): string | null;
}
/**
 * @since 6.22.0
 */
declare interface BarcodeFindViewUiListener {
  /**
   * Callback method that can be used to define an action that should be performed when the finish button is tapped from the view. The foundItems parameter contains all the items found since the start of the searching process. Called from the main thread.
   * @since 6.22.0
   */
  didTapFinishButton(foundItems: BarcodeFindItem[]): void;
}
declare interface BarcodeFindViewControllerHost {
  +viewId: number;
  +barcodeFind: BarcodeFind;
  +barcodeFindViewUiListener: BarcodeFindViewUiListener | null;
  toJSON(): {
    View: BarcodeFindView,
    BarcodeFind: BarcodeFind$1,
    ...
  };
}
declare var BarcodeFindViewEvents: {|
  +onFinishButtonTappedEventName: "BarcodeFindViewUiListener.onFinishButtonTapped", // "BarcodeFindViewUiListener.onFinishButtonTapped"
|};

declare var BarcodeFindListenerEvents: {|
  +onSearchStartedEvent: "BarcodeFindListener.onSearchStarted", // "BarcodeFindListener.onSearchStarted"
  +onSearchPausedEvent: "BarcodeFindListener.onSearchPaused", // "BarcodeFindListener.onSearchPaused"
  +onSearchStoppedEvent: "BarcodeFindListener.onSearchStopped", // "BarcodeFindListener.onSearchStopped"
  +didUpdateSession: "BarcodeFindListener.didUpdateSession", // "BarcodeFindListener.didUpdateSession"
|};
declare type BarcodeFindViewProxy = {
  $createFindView(x: {
    viewId: number,
    json: string,
    ...
  }): Promise<void>,
  $removeFindView(x: {
    viewId: number,
    ...
  }): Promise<void>,
  $setFindViewPositionAndSize(x: {
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean,
    ...
  }): Promise<void>,
  ...
} & BarcodeProxy;
declare class BarcodeFindViewController
  mixins BaseController<BarcodeFindViewProxy>
{
  static forBarcodeFindView(
    baseView: BarcodeFindViewControllerHost
  ): BarcodeFindViewController;
  constructor(): this;
  setUiListener(listener: BarcodeFindViewUiListener | null): void;
  startSearching(): Promise<void>;
  stopSearching(): Promise<void>;
  pauseSearching(): Promise<void>;
  updateView(): Promise<void>;
  showView(): Promise<void>;
  hideView(): Promise<void>;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  createNativeView(): Promise<void>;
  removeNativeView(viewId?: number): Promise<void>;
  removeOrphanedNativeView(viewId: number): Promise<void>;
  subscribeViewEvents(): Promise<void>;
  unsubscribeViewEvents(): Promise<void>;
  updateMode(): Promise<void>;
  setItemList(items: BarcodeFindItem[]): Promise<void>;
  start(): Promise<void>;
  pause(): Promise<void>;
  stop(): Promise<void>;
  setModeEnabledState(isEnabled: boolean): Promise<void>;
  updateFeedback(feedbackJson: string): Promise<void>;
  setBarcodeTransformer(): Promise<void>;
  unsetBarcodeTransformer(): Promise<void>;
  subscribeModeEvents(): Promise<void>;
  unsubscribeModeEvents(): Promise<void>;
  dispose(): void;
  isViewCreated: any;
}
/**
 * Capture mode that implements BarcodeFind.
 * @since 6.22.0
 */
declare class BarcodeFind mixins DefaultSerializeable, DataCaptureMode {
  /**
   * Returns the recommended camera settings to use with the mode.
   * @since 7.6.0
   */
  static createRecommendedCameraSettings(): CameraSettings$1;

  /**
   * Constructs a new BarcodeFind mode with the provided settings.
   * @since 7.6.0
   */
  constructor(settings: BarcodeFindSettings): this;
  static barcodeFindDefaults: any;

  /**
   * The context this mode is attached to. When the data capture mode is not attached to a context, *null* is returned.
   * @since 6.22.0
   */
  context: DataCaptureContext | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  isEnabled: boolean;
  -isEnabled: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  feedback: BarcodeFindFeedback;
  -feedback: any;

  /**
   * Asynchronously applies the new settings to the barcode scanner. If the scanner is currently running, the task will complete when the next frame is processed, and will use the new settings for that frame. If the scanner is currently *not* running, the task will complete as soon as the settings have been stored and won’t wait until the next frame is going to be processed.
   * @since 6.22.0
   */
  applySettings(settings: BarcodeFindSettings): Promise<void>;

  /**
   * Adds the listener to this BarcodeFind instance.
   *
   * In case the same listener is already observing this instance, calling this method will not add the listener again.
   * @since 6.22.0
   */
  addListener(listener: BarcodeFindListener): void;

  /**
   * Removes a previously added listener from this BarcodeFind instance.
   *
   * In case the listener is not currently observing this instance, calling this method has no effect.
   * @since 6.22.0
   */
  removeListener(listener: BarcodeFindListener): void;

  /**
   * Sets a transformer for this instance of BarcodeFind.
   * @since 6.24.0
   */
  setBarcodeTransformer(
    barcodeTransformer: BarcodeFindTransformer | null
  ): void;

  /**
   * Sets the list of items to search. This method runs asynchronously.
   * @since 6.22.0
   */
  setItemList(items: BarcodeFindItem[]): Promise<void>;

  /**
   * Starts or resumes the search process.
   * @since 6.22.0
   */
  start(): Promise<void>;

  /**
   * Pauses the search process.
   * @since 6.22.0
   */
  pause(): Promise<void>;

  /**
   * Stops the search process and clears the list of found items. If this is not called, the BarcodeFind instance will remember all found items.
   * @since 6.22.0
   */
  stop(): Promise<void>;
  toJSON(): BarcodeFind$1;
  controller: any;
  -controller: any;
}
/**
 * @since 6.22.0
 */
declare class BarcodeFindViewSettings mixins DefaultSerializeable {
  static barcodeFindViewSettingsDefaults: any;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  static withHardwareTriggers(
    inListItemColor: Color$1,
    notInListItemColor: Color$1,
    soundEnabled: boolean,
    hapticEnabled: boolean,
    hardwareTriggerEnabled: boolean,
    hardwareTriggerKeyCode: number
  ): BarcodeFindViewSettings;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  static withProgressBarColor(
    inListItemColor: Color$1,
    notInListItemColor: Color$1,
    soundEnabled: boolean,
    hapticEnabled: boolean,
    progressBarStartColor: Color$1,
    progressBarFinishColor: Color$1
  ): BarcodeFindViewSettings;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  static withProgressBarColorAndHardwareTriggers(
    inListItemColor: Color$1,
    notInListItemColor: Color$1,
    soundEnabled: boolean,
    hapticEnabled: boolean,
    hardwareTriggerEnabled: boolean,
    hardwareTriggerKeyCode: number,
    progressBarStartColor: Color$1,
    progressBarFinishColor: Color$1
  ): BarcodeFindViewSettings;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.22.0
   */
  constructor(
    inListItemColor: Color$1,
    notInListItemColor: Color$1,
    soundEnabled: boolean,
    hapticEnabled: boolean,
    hardwareTriggerEnabled?: boolean,
    hardwareTriggerKeyCode?: number,
    progressBarStartColor?: Color$1,
    progressBarFinishColor?: Color$1
  ): this;

  /**
   * The color for the overlay of an item that is in the list of items to find.
   *
   * Default is #2EC1CE.
   * @since 6.22.0
   */
  inListItemColor: Color$1;

  /**
   * The color for the overlay of an item that is not in the list of items to find.
   *
   * Default is #FFFFFF.
   * @since 6.22.0
   */
  notInListItemColor: Color$1;

  /**
   * Indicates whether audio feedback should be enabled.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  soundEnabled: boolean;

  /**
   * Indicates whether haptic feedback should be enabled.
   *
   * Default is *true*.
   * @since 6.22.0
   */
  hapticEnabled: boolean;

  /**
   * @since 7.1.0
   */
  hardwareTriggerEnabled: boolean;

  /**
   * [object Object],[object Object],[object Object]
   * @since 7.1.0
   */
  hardwareTriggerKeyCode: number | null;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  progressBarStartColor: Color$1;

  /**
   * [object Object],[object Object],[object Object],[object Object],[object Object]
   * @since 7.4.0
   */
  progressBarFinishColor: Color$1;
}
/**
 * [object Object],[object Object],[object Object]
 * @since 7.6.0
 */
declare interface BarcodeFindViewProps {
  /**
   * The data capture context that manages the camera and processing pipeline. This context coordinates the barcode find mode with other capture modes and provides access to the camera.
   * @since 7.6.0
   */
  context: DataCaptureContext;

  /**
   * The barcode find mode instance that defines the scanning behavior and settings. This mode handles the barcode detection logic and manages the list of items to find.
   * @since 7.6.0
   */
  barcodeFind: BarcodeFind;

  /**
   * Optional view settings that control the appearance and behavior of the barcode find view. If not provided, the view will use default settings for colors, sounds, haptic feedback, and UI elements.
   * @since 7.6.0
   */
  viewSettings?: BarcodeFindViewSettings;

  /**
   * Optional camera settings to customize the camera behavior. If not provided, the view will use the recommended camera settings optimized for barcode find operations. These settings control aspects like resolution, frame rate, and focus behavior.
   * @since 7.6.0
   */
  cameraSettings?: CameraSettings$1;

  /**
   * Optional style object for customizing the appearance of the BarcodeFind view component. This property allows you to apply custom styles and follows the styling conventions of the respective framework.
   * @since 7.6.0
   */
  style?: any;

  /**
   * Navigation object from React Navigation library, used specifically in React Native applications. This property enables the BarcodeFind view to integrate with React Navigation’s navigation system for better handling camera access.
   * @since 8.0.0
   */
  navigation?: any;
}
declare class BaseBarcodeFindView {
  /**
   * Resolves true once this view's native counterpart exists, false if it
   * never will (creation failed, timed out, or the view was torn down).
   *
   * Callers that arrive before creation has been kicked off park until it is,
   * bounded by VIEW_CREATION_PRE_BEGIN_TIMEOUT_MS; once a creation cycle is in
   * flight the bound is VIEW_CREATION_TIMEOUT_MS. Reachable on Cordova/Capacitor
   * when a view method runs before connectToElement().
   * @internal Not part of the documented API surface: it exists so the base
   * view's own action methods can await creation, and is public only because
   * the framework plugins reach it across package boundaries.
   */
  whenViewCreated(): Promise<boolean>;
  viewId: number;
  barcodeFind: BarcodeFind;
  barcodeFindViewUiListener: BarcodeFindViewUiListener | null;
  -barcodeFindViewUiListener: any;
  context: DataCaptureContext;
  constructor(props: BarcodeFindViewProps): this;
  asHost: any;
  static barcodeFindViewDefaults: any;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  stopSearching(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  startSearching(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  pauseSearching(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  show(): Promise<void>;

  /**
   * No-ops if native view creation never completes (it failed, timed out, or
   * the view was torn down); the gate emits a Warn in that case. There is
   * currently no public hook to detect it: `whenViewCreated()` is internal to
   * this base view, and the React Native components do not re-expose it.
   */
  hide(): Promise<void>;
  setPositionAndSize(
    top: number,
    left: number,
    width: number,
    height: number,
    shouldBeUnderWebView: boolean
  ): Promise<void>;
  static hardwareTriggerSupported: boolean;
  createNativeView(viewId: number): Promise<void>;
  removeNativeView(): Promise<void>;
  shouldShowUserGuidanceView: boolean;
  -shouldShowUserGuidanceView: any;
  shouldShowHints: boolean;
  -shouldShowHints: any;
  shouldShowCarousel: boolean;
  -shouldShowCarousel: any;
  shouldShowPauseButton: boolean;
  -shouldShowPauseButton: any;
  shouldShowFinishButton: boolean;
  -shouldShowFinishButton: any;
  shouldShowProgressBar: boolean;
  -shouldShowProgressBar: any;
  shouldShowTorchControl: boolean;
  -shouldShowTorchControl: any;
  shouldShowZoomControl: boolean;
  -shouldShowZoomControl: any;
  torchControlPosition: $Values<typeof Anchor$1>;
  -torchControlPosition: any;
  textForCollapseCardsButton: string | null;
  -textForCollapseCardsButton: any;
  textForAllItemsFoundSuccessfullyHint: string | null;
  -textForAllItemsFoundSuccessfullyHint: any;
  textForItemListUpdatedHint: string | null;
  -textForItemListUpdatedHint: any;
  textForItemListUpdatedWhenPausedHint: string | null;
  -textForItemListUpdatedWhenPausedHint: any;
  textForPointAtBarcodesToSearchHint: string | null;
  -textForPointAtBarcodesToSearchHint: any;
  textForMoveCloserToBarcodesHint: string | null;
  -textForMoveCloserToBarcodesHint: any;
  textForTapShutterToPauseScreenHint: string | null;
  -textForTapShutterToPauseScreenHint: any;
  textForTapShutterToResumeSearchHint: string | null;
  -textForTapShutterToResumeSearchHint: any;
  logoStyle: $Values<typeof LogoStyle$1>;
  -logoStyle: any;
  logoAnchor: $Values<typeof Anchor$1>;
  -logoAnchor: any;
  cameraStateOnStop: $Values<typeof FrameSourceState>;
  -cameraStateOnStop: any;
  dispose(): void;
  toJSON(): {
    View: BarcodeFindView,
    BarcodeFind: BarcodeFind$1,
    ...
  };
}
/**
 * The level of error correction to use in generating a QR code, specifying how much the code can be damaged while remaining readable.
 * @since 6.24.0
 */

declare var QrCodeErrorCorrectionLevel: {|
  +Low: "low", // "low"
  +Medium: "medium", // "medium"
  +Quartile: "quartile", // "quartile"
  +High: "high", // "high"
|};

/**
 * The compaction mode for PDF417 barcode generation. The compaction mode determines how the data is encoded in the barcode.
 * @since 8.4.0
 */

declare var Pdf417CompactionMode: {|
  +Auto: "auto", // "auto"
  +Text: "text", // "text"
  +Byte: "byte", // "byte"
  +Numeric: "numeric", // "numeric"
|};

/**
 * Dimensions configuration for PDF417 barcode generation. This class allows you to control the minimum and maximum number of rows and columns in the generated barcode. All properties are optional and can be left unset (null).
 *
 * Encoding will fail if incompatible dimensions are defined (e.g., if the data cannot fit within the specified constraints).
 * @since 8.4.0
 */
declare class Pdf417Dimensions {
  /**
   * Minimum number of columns in the PDF417 barcode. Default is null (unset).
   * @since 8.4.0
   */
  minCols: number | null;

  /**
   * Maximum number of columns in the PDF417 barcode. Default is null (unset).
   * @since 8.4.0
   */
  maxCols: number | null;

  /**
   * Minimum number of rows in the PDF417 barcode. Default is null (unset).
   * @since 8.4.0
   */
  minRows: number | null;

  /**
   * Maximum number of rows in the PDF417 barcode. Default is null (unset).
   * @since 8.4.0
   */
  maxRows: number | null;

  /**
   * Creates a new PDF417Dimensions instance with all properties set to null.
   * @since 8.4.0
   */
  constructor(
    minCols?: number | null,
    maxCols?: number | null,
    minRows?: number | null,
    maxRows?: number | null
  ): this;
}
declare class BarcodeGeneratorCreationOptions {
  backgroundColor: Color$1 | null;
  foregroundColor: Color$1 | null;
  errorCorrectionLevel:
    | $Values<typeof QrCodeErrorCorrectionLevel>
    | number
    | null;
  versionNumber: number | null;
  minimumErrorCorrectionPercent: number | null;
  layers: number | null;
  compact: boolean | null;
  compactionMode: $Values<typeof Pdf417CompactionMode> | null;
  dimensions: Pdf417Dimensions | null;
  constructor(
    backgroundColor?: Color$1 | null,
    foregroundColor?: Color$1 | null,
    errorCorrectionLevel?:
      | $Values<typeof QrCodeErrorCorrectionLevel>
      | number
      | null,
    versionNumber?: number | null,
    minimumErrorCorrectionPercent?: number | null,
    layers?: number | null,
    compact?: boolean | null,
    compactionMode?: $Values<typeof Pdf417CompactionMode> | null,
    dimensions?: Pdf417Dimensions | null
  ): this;
}
/**
 * @since 6.24.0
 */
declare class BarcodeGeneratorBuilder<T> {
  options: BarcodeGeneratorCreationOptions;
  constructor(type: string, dataCaptureContext: DataCaptureContext): this;

  /**
   * Sets the background color for the generated codes. Default is Color.WHITE.
   * @since 6.24.0
   */
  withBackgroundColor(color: Color$1): BarcodeGeneratorBuilder<T>;

  /**
   * Sets the foreground color for the generated codes. Default is Color.BLACK.
   * @since 6.24.0
   */
  withForegroundColor(color: Color$1): BarcodeGeneratorBuilder<T>;

  /**
   * [object Object],[object Object],[object Object]
   * @since 6.24.0
   */
  build(): BarcodeGenerator;
}
/**
 * @since 6.24.0
 */
declare class Code39BarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<Code39BarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;
}
/**
 * @since 6.24.0
 */
declare class Code128BarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<Code128BarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;
}
/**
 * @since 6.24.0
 */
declare class Ean13BarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<Ean13BarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;
}
/**
 * @since 6.24.0
 */
declare class UpcaBarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<UpcaBarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;
}
/**
 * @since 6.24.0
 */
declare class InterleavedTwoOfFiveBarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<InterleavedTwoOfFiveBarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;
}
/**
 * @since 6.24.0
 */
declare class QrCodeBarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<QrCodeBarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;

  /**
   * Configure how much error correction to use in the generated code.
   * @since 6.24.0
   */
  withErrorCorrectionLevel(
    errorCorrectionLevel: $Values<typeof QrCodeErrorCorrectionLevel>
  ): QrCodeBarcodeGeneratorBuilder;

  /**
   * The version number for the QR code. Version number determines the size of the QR code, with a larger size allowing more data to be stored. The value must be greater than 0, and if the value is too small for the data being encoded, code generation will fail.
   * @since 6.24.0
   */
  withVersionNumber(versionNumber: number): QrCodeBarcodeGeneratorBuilder;
}
/**
 * @since 6.24.0
 */
declare class DataMatrixBarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<DataMatrixBarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;
}
/**
 * @since 7.0.0
 */
declare class AztecBarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<AztecBarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;

  /**
   * Optional parameter to configure how much error correction to use in the generated code. The value must be greater than 0.
   * @since 7.0.0
   */
  withMinimumErrorCorrectionPercent(
    minimumErrorCorrectionPercent: number
  ): AztecBarcodeGeneratorBuilder;

  /**
   * Optional parameter to configure how many layers, each one containing two rings of pixels, to use in the generated code. The value must be between -4 and 32. Negative values create compact codes.
   * @since 7.0.0
   */
  withLayers(layers: number): AztecBarcodeGeneratorBuilder;
}
/**
 * @since 8.4.0
 */
declare class Pdf417BarcodeGeneratorBuilder
  mixins BarcodeGeneratorBuilder<Pdf417BarcodeGeneratorBuilder>
{
  constructor(dataCaptureContext: DataCaptureContext): this;

  /**
   * Sets the error correction level for PDF417 barcode generation. Valid values are 0 to 8, where a higher number increases the error correction data in the code. Default is 2.
   * @since 8.4.0
   */
  withErrorCorrectionLevel(
    errorCorrectionLevel: number
  ): Pdf417BarcodeGeneratorBuilder;

  /**
   * Switches between normal and compact code layout. When set to true, a compact PDF417 code is generated, which reduces the size but may decrease scanning reliability. Default is false.
   * @since 8.4.0
   */
  withCompact(compact: boolean): Pdf417BarcodeGeneratorBuilder;

  /**
   * [object Object],[object Object],[object Object]
   * @since 8.4.0
   */
  withCompactionMode(
    compactionMode: $Values<typeof Pdf417CompactionMode>
  ): Pdf417BarcodeGeneratorBuilder;

  /**
   * Sets the symbol dimensions for the PDF417 barcode. The dimensions control the minimum and maximum number of rows and columns. Encoding fails if incompatible dimensions are defined.
   * @since 8.4.0
   */
  withDimensions(dimensions: Pdf417Dimensions): Pdf417BarcodeGeneratorBuilder;
}
/**
 * @since 6.24.0
 */
declare class BarcodeGenerator
  mixins DefaultSerializeable, DataCaptureComponent
{
  /**
   * Gets the data capture component ID for the barcode generator.
   * @since 6.24.0
   */
  id: string;
  static create(
    type: string,
    options: BarcodeGeneratorCreationOptions,
    dataCaptureContext: DataCaptureContext
  ): BarcodeGenerator;

  /**
   * Creates a Code 39 Barcode Generator builder for the provided context.
   * @since 6.24.0
   */
  static code39BarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): Code39BarcodeGeneratorBuilder;

  /**
   * Creates a Code 128 Barcode Generator builder for the provided context.
   * @since 6.24.0
   */
  static code128BarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): Code128BarcodeGeneratorBuilder;

  /**
   * Creates an EAN13 Barcode Generator builder for the provided context.
   *
   * EAN13 codes are composed of 13 symbols. If 12 symbols are provided, it is assumed that the checksum is missing and it is generated and appended to the end.
   * @since 6.24.0
   */
  static ean13BarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): Ean13BarcodeGeneratorBuilder;

  /**
   * Creates a UPCA Barcode Generator builder for the provided context.
   * @since 6.24.0
   */
  static upcaBarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): UpcaBarcodeGeneratorBuilder;

  /**
   * Creates an Interleaved Two-of-Five Barcode Generator builder for the provided context.
   * @since 6.24.0
   */
  static interleavedTwoOfFiveBarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): InterleavedTwoOfFiveBarcodeGeneratorBuilder;

  /**
   * Creates a QRCode Barcode Generator builder for the provided context.
   * @since 6.24.0
   */
  static qrCodeBarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): QrCodeBarcodeGeneratorBuilder;

  /**
   * Creates a DataMatrix Barcode Generator builder for the provided context.
   * @since 6.24.0
   */
  static dataMatrixBarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): DataMatrixBarcodeGeneratorBuilder;

  /**
   * Creates an Aztec Barcode Generator builder for the provided context.
   * @since 7.0.0
   */
  static aztecBarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): AztecBarcodeGeneratorBuilder;

  /**
   * Creates a PDF417 Barcode Generator builder for the provided context.
   * @since 8.4.0
   */
  static pdf417BarcodeGeneratorBuilder(
    dataCaptureContext: DataCaptureContext
  ): Pdf417BarcodeGeneratorBuilder;
  constructor(): this;

  /**
   * Generate a code of the given width for the supplied text. If the text is not compatible with the generator’s symbology, an exception is thrown.
   *
   * imageWidth specifies the width of the image in pixels.
   *
   * When running on iOS, the resulting UIImage will use the same scale as the device screen.
   * @since 6.24.0
   */
  generate(text: string, imageWidth: number): Promise<string>;

  /**
   * Generate a code of the given width for the supplied data. If the data is not compatible with the generator’s symbology, an exception is thrown.
   *
   * imageWidth specifies the width of the image in pixels.
   *
   * When running on iOS, the resulting UIImage will use the same scale as the device screen.
   * @since 6.24.0
   */
  generateFromBase64EncodedData(
    data: string,
    imageWidth: number
  ): Promise<string>;

  /**
   * Disposes the barcode generator.
   * @since 6.24.0
   */
  dispose(): void;
}
declare interface BarcodeGeneratorControllerHost {
  +id: string;
  toJSON(): { [key: string]: any };
}
declare class BarcodeGeneratorController mixins BaseController<BarcodeProxy> {
  constructor(generator: BarcodeGeneratorControllerHost): this;
  initialize(): Promise<void>;
  create(): Promise<void>;
  generateFromBase64EncodedData(
    data: string,
    imageWidth: number
  ): Promise<string>;
  generate(text: string, imageWidth: number): Promise<string>;
  dispose(): Promise<void>;
}
declare var BARCODE_PROXY_TYPE_NAMES: [
  "BarcodeProxy",
  "BarcodeCountViewProxy",
  "BarcodePickViewProxy",
  "BarcodeFindViewProxy",
  "SparkScanViewProxy",
  "BarcodeArSessionProxy",
  "BarcodeArViewProxy"
];
declare type BarcodeProxyType = $ElementType<
  typeof BARCODE_PROXY_TYPE_NAMES,
  number
>;
declare type BarcodeNativeCallerProvider = {
  ...
} & NativeCallerProvider<BarcodeProxyType>;
declare function registerBarcodeProxies(
  provider: BarcodeNativeCallerProvider
): void;
declare export {
  AdaptiveRecognitionErrorReason,
  AdaptiveRecognitionFrameMetadata,
  ArucoDictionary$1 as ArucoDictionary,
  ArucoDictionaryPreset,
  ArucoMarker$1 as ArucoMarker,
  AztecBarcodeGeneratorBuilder,
  BARCODE_PROXY_TYPE_NAMES,
  BarcodeArAnnotationLifecycleEvents,
  BarcodeArAnnotationProviderEvents,
  BarcodeArAugmentationsEvents,
  BarcodeArCircleHighlight,
  BarcodeArEvents,
  BarcodeArFeedback,
  BarcodeArFilterEvents,
  BarcodeArHighlightLifecycleEvents,
  BarcodeArHighlightProviderEvents,
  BarcodeArInfoAnnotationBodyComponent,
  BarcodeArInfoAnnotationFooter,
  BarcodeArInfoAnnotationHeader,
  BarcodeArPopoverAnnotationButton,
  BarcodeArRectangleHighlight,
  BarcodeArResponsiveAnnotation,
  BarcodeArSessionController,
  BarcodeArSettings,
  BarcodeArStatusIconAnnotation,
  BarcodeArViewEvents,
  BarcodeBatchAdvancedOverlayController,
  BarcodeBatchAdvancedOverlayListenerEvents,
  BarcodeBatchBasicOverlayController,
  BarcodeBatchBasicOverlayListenerEvents,
  BarcodeBatchLicenseInfo,
  BarcodeBatchListenerController,
  BarcodeBatchListenerEvents,
  BarcodeBatchSettings,
  BarcodeCaptureAdaptiveRecognitionEvents,
  BarcodeCaptureFeedback$1 as BarcodeCaptureFeedback,
  BarcodeCaptureLicenseInfo,
  BarcodeCaptureListenerController,
  BarcodeCaptureListenerEvents,
  BarcodeCaptureOverlay,
  BarcodeCaptureOverlayController,
  BarcodeCaptureSettings$1 as BarcodeCaptureSettings,
  BarcodeCountAdaptiveRecognitionEvents,
  BarcodeCountFeedback,
  BarcodeCountMappingFlowSettings,
  BarcodeCountModeListenerEvents,
  BarcodeCountNotInListActionSettings,
  BarcodeCountSessionController,
  BarcodeCountSettings,
  BarcodeCountStatus,
  BarcodeCountStatusItem,
  BarcodeCountStatusResultAbort,
  BarcodeCountStatusResultError,
  BarcodeCountStatusResultSuccess,
  BarcodeCountToolbarSettings,
  BarcodeCountUiListenerEvents,
  BarcodeCountViewListenerEvents,
  BarcodeCountViewStyle,
  BarcodeDefaultsType,
  BarcodeDefinition,
  BarcodeDefinitionBuilder,
  BarcodeFilterHighlightSettingsBrush,
  BarcodeFilterHighlightType,
  BarcodeFilterSettings,
  BarcodeFindFeedback,
  BarcodeFindItem,
  BarcodeFindItemContent,
  BarcodeFindItemSearchOptions,
  BarcodeFindListenerEvents,
  BarcodeFindSession,
  BarcodeFindSettings,
  BarcodeFindViewEvents,
  BarcodeFindViewSettings,
  BarcodeGenerator,
  BarcodeGeneratorBuilder,
  BarcodeGeneratorController,
  BarcodeIdentifier,
  BarcodeInfo,
  BarcodePickAction,
  BarcodePickActionEvents,
  BarcodePickAsyncMapperProductProvider,
  BarcodePickAsyncMapperProductProviderEvents,
  BarcodePickListenerEvents,
  BarcodePickProductProviderCallback,
  BarcodePickScanningEvents,
  BarcodePickScanningSession,
  BarcodePickSession,
  BarcodePickState,
  BarcodePickStatusIconSettings,
  BarcodePickStatusIconStyle,
  BarcodePickViewEventHandlers,
  BarcodePickViewEvents,
  BarcodePickViewHighlightStyleCustomView,
  BarcodePickViewHighlightStyleCustomViewEvents,
  BarcodePickViewHighlightStyleCustomViewResponse,
  BarcodePickViewHighlightStyleEvents,
  BarcodePickViewHighlightStyleRequest,
  BarcodePickViewHighlightStyleResponse,
  BarcodePickViewHighlightStyleResponseBuilder,
  BarcodePickViewUiEvents,
  BarcodeSelectionAimerBehavior,
  BarcodeSelectionAimerSelection,
  BarcodeSelectionAutoSelectionStrategy,
  BarcodeSelectionBasicOverlay,
  BarcodeSelectionBasicOverlayStyle,
  BarcodeSelectionBrushProviderEvents,
  BarcodeSelectionController,
  BarcodeSelectionFeedback,
  BarcodeSelectionFreezeBehavior,
  BarcodeSelectionLicenseInfo,
  BarcodeSelectionListenerController,
  BarcodeSelectionListenerEvents,
  BarcodeSelectionManualSelectionStrategy,
  BarcodeSelectionOverlayController,
  BarcodeSelectionSettings,
  BarcodeSelectionStrategyType,
  BarcodeSelectionTapBehavior,
  BarcodeSelectionTapSelection,
  BarcodeSelectionTypeName,
  BarcodeSpatialGrid,
  BaseBarcodeArView,
  BaseBarcodeBatchAdvancedOverlay,
  BaseBarcodeCountView,
  BaseBarcodeFindView,
  BaseBarcodePickView,
  BaseSparkScanView,
  BrushForStateObject,
  CapturePreset,
  Checksum,
  Code128BarcodeGeneratorBuilder,
  Code39BarcodeGeneratorBuilder,
  CompositeFlag,
  CompositeType,
  CompositeTypeDescription,
  DataMatrixBarcodeGeneratorBuilder,
  Dot,
  DotWithIcons,
  Ean13BarcodeGeneratorBuilder,
  Ean13UpcaClassification,
  EncodingRange,
  InterleavedTwoOfFiveBarcodeGeneratorBuilder,
  LocalizedOnlyBarcode,
  Pdf417BarcodeGeneratorBuilder,
  Pdf417CompactionMode,
  Pdf417Dimensions,
  PrivateBarcodeSelectionStrategy,
  PrivateBarcodeSelectionType,
  QrCodeBarcodeGeneratorBuilder,
  QrCodeErrorCorrectionLevel,
  Range,
  Rectangular,
  RectangularWithIcons,
  ScanComponentBarcodePreset,
  ScanComponentTextSemanticType,
  ScanItemDefinition,
  ScanItemIdentifier,
  ScannedBarcode,
  ScannedComponentIdentifier,
  ScannedItem,
  ScannedItemIdentifier,
  ScannedText,
  SparkScanBarcodeErrorFeedback,
  SparkScanBarcodeFeedback,
  SparkScanBarcodeSuccessFeedback,
  SparkScanLicenseInfo,
  SparkScanPreviewBehavior,
  SparkScanScanningBehavior,
  SparkScanScanningModeDefault,
  SparkScanScanningModeTarget,
  SparkScanSettings,
  SparkScanToastSettings,
  SparkScanViewController,
  SparkScanViewEvents,
  SparkScanViewState,
  StructuredAppendData,
  Symbology,
  SymbologyDescription,
  SymbologySettings$1 as SymbologySettings,
  TargetBarcode,
  TextDefinition,
  TextDefinitionBuilder,
  TextIdentifier,
  TrackedObject,
  UpcaBarcodeGeneratorBuilder,
  barcodeArPlaceholderCameraSettings,
  barcodeBatchPlaceholderCameraSettings,
  barcodeCapturePlaceholderCameraSettings,
  barcodeCountPlaceholderCameraSettings,
  barcodeFindPlaceholderCameraSettings,
  barcodePickPlaceholderCameraSettings,
  barcodeSelectionPlaceholderCameraSettings,
  buildStaticBarcodeArDefaultsJson,
  buildStaticBarcodeBatchDefaultsJson,
  buildStaticBarcodeCaptureDefaultsJson,
  buildStaticBarcodeCountDefaultsJson,
  buildStaticBarcodeFindDefaultsJson,
  buildStaticBarcodePickDefaultsJson,
  buildStaticBarcodeSelectionDefaultsJson,
  buildStaticSparkScanDefaultsJson,
  ensureBarcodeDefaults,
  ensureBarcodeDefaultsFor,
  getBarcodeArDefaults,
  getBarcodeBatchDefaults,
  getBarcodeCaptureDefaults,
  getBarcodeCountDefaults,
  getBarcodeDefaults,
  getBarcodeFindDefaults,
  getBarcodePickDefaults,
  getBarcodeSelectionDefaults,
  getSparkScanDefaults,
  getSymbologySettingsFromBarcodePickDefaults,
  getSymbologySettingsFromDefaults,
  loadAllBarcodeDefaults,
  loadBarcodeArDefaults,
  loadBarcodeBatchDefaults,
  loadBarcodeCaptureDefaults,
  loadBarcodeCountDefaults,
  loadBarcodeDefaults,
  loadBarcodeFindDefaults,
  loadBarcodePickDefaults,
  loadBarcodeSelectionDefaults,
  loadSparkScanDefaults,
  placeholderBarcodeArView,
  placeholderBarcodeCountView,
  placeholderBarcodeFindView,
  placeholderBarcodePickViewHighlightStyle,
  placeholderBarcodePickViewSettings,
  placeholderBarcodeSparkScanView,
  registerBarcodeProxies,
  setBarcodeDefaultsLoader,
};
export type {
  AdaptiveRecognitionServiceListener,
  BarcodeArAnnotation,
  BarcodeArAnnotationProvider,
  BarcodeArDefaults,
  BarcodeArFeedbackJSON,
  BarcodeArFilter,
  BarcodeArHighlight,
  BarcodeArHighlightProvider,
  BarcodeArInfoAnnotationListener,
  BarcodeArListener,
  BarcodeArPopoverAnnotationListener,
  BarcodeArSessionJSON,
  BarcodeArView,
  BarcodeArViewControllerModeHost,
  BarcodeArViewProxy,
  BarcodeArViewUiListener,
  BarcodeBatchAdvancedOverlay,
  BarcodeBatchAdvancedOverlayListener,
  BarcodeBatchAdvancedOverlayView,
  BarcodeBatchBasicOverlayListener,
  BarcodeBatchDefaults,
  BarcodeBatchListener,
  BarcodeBatchSessionEventPayload,
  BarcodeBatchSessionJSON,
  BarcodeCaptureDefaults,
  BarcodeCaptureListener,
  BarcodeCaptureSessionJSON,
  BarcodeCountCaptureListListener,
  BarcodeCountCaptureListSessionJSON,
  BarcodeCountDefaults,
  BarcodeCountFeedbackJSON,
  BarcodeCountListener,
  BarcodeCountSessionJSON,
  BarcodeCountSessionSnapshotJSON,
  BarcodeCountStatusProvider,
  BarcodeCountStatusResult,
  BarcodeCountView,
  BarcodeCountViewListener,
  BarcodeCountViewProxy,
  BarcodeCountViewSettingsDefaults,
  BarcodeCountViewUiListener,
  BarcodeDataTransformer,
  BarcodeDefaults,
  BarcodeFilterHighlightSettings,
  BarcodeFilterSettingsJSON,
  BarcodeFindDefaults,
  BarcodeFindListener,
  BarcodeFindTransformer,
  BarcodeFindViewProps,
  BarcodeFindViewProxy,
  BarcodeFindViewUiListener,
  BarcodeInfoJSON,
  BarcodeJSON,
  BarcodeNativeCallerProvider,
  BarcodePickActionCallbackControllerHost,
  BarcodePickActionListener,
  BarcodePickAsyncMapperProductProviderCallback,
  BarcodePickDefaults,
  BarcodePickListener,
  BarcodePickModeHost,
  BarcodePickProductProvider,
  BarcodePickScanningListener,
  BarcodePickScanningSessionJSON,
  BarcodePickSessionJSON,
  BarcodePickView,
  BarcodePickViewEventHandlersViewHost,
  BarcodePickViewHighlightStyle,
  BarcodePickViewHighlightStyleAsyncProvider,
  BarcodePickViewHighlightStyleCustomViewProvider,
  BarcodePickViewListener,
  BarcodePickViewProxy,
  BarcodePickViewUiListener,
  BarcodeProxyType,
  BarcodeSelectionBrushProvider,
  BarcodeSelectionDefaults,
  BarcodeSelectionListener,
  BarcodeSelectionSessionControllerHost,
  BarcodeSelectionSessionJSON,
  BarcodeSelectionStrategy,
  BarcodeSelectionType,
  BarcodeSelectionTypeJSON,
  BarcodeSpatialGridElementJSON,
  BarcodeSpatialGridJSON,
  BaseBarcodeCountViewProps,
  BaseSparkScanViewProps,
  ClusterJSON,
  CompositeTypeDescriptionJSON,
  EncodingRangeJSON,
  LocalizedOnlyBarcodeJSON,
  PrivateBarcodeAr,
  PrivateBarcodeArFeedback,
  PrivateBarcodeArSession,
  PrivateBarcodeBatch,
  PrivateBarcodeBatchSession,
  PrivateBarcodeCapture,
  PrivateBarcodeCount,
  PrivateBarcodeCountCaptureList,
  PrivateBarcodeCountCaptureListSession,
  PrivateBarcodeCountSessionSnapshot,
  PrivateBarcodeCountStatusProviderCallback,
  PrivateBarcodeCountView,
  PrivateBarcodeFilterSettings,
  PrivateBarcodePick,
  PrivateBarcodePickCallback,
  PrivateBarcodePickProductProvider,
  PrivateBarcodePickScanningSession,
  PrivateBarcodePickSession,
  PrivateBarcodePickStatusIconSettings,
  PrivateBarcodePickView,
  PrivateCompositeTypeDescription,
  PrivateEncodingRange,
  PrivateLocalizedOnlyBarcode,
  PrivateRange,
  PrivateSparkScanView,
  PrivateStructuredAppendData,
  PrivateSymbologyDescription,
  PrivateSymbologySettings,
  RangeJSON,
  ScanComponentDefinition,
  ScannedBarcodeJSON,
  ScannedComponent,
  ScannedItemJSON,
  ScannedTextJSON,
  SparkScanDefaults,
  SparkScanFeedbackDelegate,
  SparkScanListener,
  SparkScanScanningMode$1 as SparkScanScanningMode,
  SparkScanSessionControllerHost,
  SparkScanSessionEventPayload,
  SparkScanSessionJSON,
  SparkScanToastSettingsDefaults,
  SparkScanView,
  SparkScanView$1 as SparkScanViewJSON,
  SparkScanViewProxy,
  SparkScanViewSettingsDefaults,
  SparkScanViewUiListener,
  StructuredAppendDataJSON,
  SymbologyDescriptionJSON,
  SymbologySettingsJSON,
  TargetBarcodeJSON,
  TrackedBarcodeJSON,
  TrackedObjectJSON,
};
declare export {
  Barcode,
  BarcodeAr,
  BarcodeArAnnotationTrigger,
  BarcodeArCircleHighlightPreset,
  BarcodeArInfoAnnotation,
  BarcodeArInfoAnnotationAnchor,
  BarcodeArInfoAnnotationWidthPreset,
  BarcodeArPopoverAnnotation,
  BarcodeArPopoverAnnotationAnchor,
  BarcodeArSession,
  BarcodeArStatusIconAnnotationAnchor,
  BarcodeArViewController,
  BarcodeArViewSettings,
  BarcodeBatch,
  BarcodeBatchBasicOverlay,
  BarcodeBatchBasicOverlayStyle,
  BarcodeBatchSession,
  BarcodeCapture,
  BarcodeCaptureSession,
  BarcodeCount,
  BarcodeCountCaptureList,
  BarcodeCountCaptureListSession,
  BarcodeCountIcon,
  BarcodeCountSession,
  BarcodeCountSessionSnapshot,
  BarcodeCountStatusProviderCallback,
  BarcodeCountViewController,
  BarcodeFind,
  BarcodeFindViewController,
  BarcodePick,
  BarcodePickActionCallback,
  BarcodePickProduct,
  BarcodePickProductProviderCallbackItem,
  BarcodePickSettings,
  BarcodePickViewController,
  BarcodePickViewSettings,
  BarcodeSelection,
  BarcodeSelectionSession,
  BatterySavingMode$1 as BatterySavingMode,
  Cluster,
  SparkScan,
  SparkScanMiniPreviewSize,
  SparkScanSession,
  SparkScanViewSettings,
  TrackedBarcode,
};
