import { t as Barcode } from "../../../Barcode-DNvaiOyn.js";
import { r as BarcodeArAnnotationTrigger, t as BarcodeArAnnotation } from "../../../BarcodeArAnnotation-BTMTqI9o.js";
import { Point, ScanditHTMLElement } from "@scandit/web-datacapture-core";
//#region src/main/ar/ui/organisms/BarcodeArResponsiveAnnotation.d.ts
declare class BarcodeArResponsiveAnnotation extends ScanditHTMLElement implements BarcodeArAnnotation {
  static tag: "scandit-barcode-ar-responsive-annotation";
  private _barcode;
  private _annotationsWithThreshold;
  private _currentAnnotation;
  private static _threshold;
  protected static register(): void;
  /**
   * Each variation may be any {@link BarcodeArAnnotation} — info, popover, status icon, or a
   * custom annotation. Passing a `BarcodeArResponsiveAnnotation` as a variation of another
   * `BarcodeArResponsiveAnnotation` is undefined behavior and is not supported.
   */
  static create(barcode: Barcode, annotationsByThreshold: Record<number, BarcodeArAnnotation | null>): BarcodeArResponsiveAnnotation;
  /**
   * @deprecated Use `create(barcode, annotationsByThreshold)` instead. Maps to
   * `{ [BarcodeArResponsiveAnnotation.threshold]: farAway, 1.0: closeUp }`.
   */
  static create(barcode: Barcode, closeUp: BarcodeArAnnotation | null, farAway: BarcodeArAnnotation | null): BarcodeArResponsiveAnnotation;
  private static isValidThreshold;
  private static isLegacyCloseUpArgument;
  private static dropOutOfBoundThresholds;
  get barcode(): Barcode;
  get annotationTrigger(): BarcodeArAnnotationTrigger;
  set annotationTrigger(trigger: BarcodeArAnnotationTrigger);
  private set anchor(value);
  private get anchor();
  updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
  private selectAnnotation;
  private getChildAnnotations;
  private updateAnnotationVisibility;
  /**
   * @deprecated Use the `annotationsByThreshold` map passed to `create` instead. Per-instance
   * thresholds supersede this shared property.
   */
  static get threshold(): number;
  static set threshold(threshold: number);
  private connectedCallback;
  private disconnectedCallback;
}
declare global {
  interface HTMLElementTagNameMap {
    [BarcodeArResponsiveAnnotation.tag]: BarcodeArResponsiveAnnotation;
  }
}
//#endregion
export { BarcodeArResponsiveAnnotation };