/// <reference path="../../index.d.ts" />
/// <reference types="@arcgis/core/interfaces.d.ts" />
import type { DistanceUnit, ISelectionSet } from "../../utils/interfaces.js";
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
import type { T9nMeta } from "@arcgis/lumina/controllers";

export abstract class RefineSelection extends LitElement {
  /**
   * Contains the translations for this component.
   * All UI strings should be defined here.
   *
   * @internal
   */
  protected _translations: {
      add: string;
      remove: string;
      featuresAdded: string;
      featuresRemoved: string;
      totalSelected: string;
      inputLayer: string;
      inputLayerTip: string;
      searchDistance: string;
      useSearchDistanceTootip: string;
      bufferLayer: string;
      sketchLayer: string;
  } & T9nMeta<{
      add: string;
      remove: string;
      featuresAdded: string;
      featuresRemoved: string;
      totalSelected: string;
      inputLayer: string;
      inputLayerTip: string;
      searchDistance: string;
      useSearchDistanceTootip: string;
      bufferLayer: string;
      sketchLayer: string;
  }>;
  /** esri/views/layers/FeatureLayerView: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html */
  accessor addresseeLayer: __esri.FeatureLayerView | undefined;
  /** string | number[] |  object with r, g, b, a: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-Color.html */
  accessor bufferColor: any;
  /** string | number[] | object with r, g, b, a: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-Color.html */
  accessor bufferOutlineColor: any;
  /** number: The default value to show for the buffer distance */
  accessor defaultBufferDistance: number | undefined;
  /** number: The default value to show for the buffer unit */
  accessor defaultBufferUnit: DistanceUnit | undefined;
  /** Array of drawn graphics for refine selection */
  accessor drawnGraphicsArr: {
      drawnGraphic: __esri.Graphic | undefined;
      bufferGraphic: __esri.Graphic | undefined;
  }[];
  /**
   * string[]: Optional list of enabled layer ids
   *  If empty all layers will be available
   */
  accessor enabledLayerIds: string[];
  /**
   * boolean: When true users will be allowed to optionally create a buffer around the selection geometry
   *
   * @default true
   */
  accessor enableSearchDistance: boolean;
  /**
   * boolean: When true the serach distance options will be enabled when the component loads
   *
   * @default false
   */
  accessor enableSearchDistanceOnLoad: boolean;
  /** esri/geometry: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-geometry.html */
  accessor geometries: __esri.Geometry[] | undefined;
  /** esri/views/MapView: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
  accessor mapView: __esri.MapView | undefined;
  /**
   * boolean: when true buffer tools controls are enabled
   *
   * @default false
   */
  accessor searchDistanceEnabled: boolean;
  /** utils/interfaces/ISelectionSet: An array of user defined selection sets */
  accessor selectionSets: ISelectionSet[];
  /** esri/symbols/SimpleLineSymbol | JSON representation : https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html */
  accessor sketchLineSymbol: __esri.SimpleLineSymbol | undefined;
  /** esri/symbols/SimpleMarkerSymbol | JSON representation: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html */
  accessor sketchPointSymbol: __esri.SimpleMarkerSymbol | undefined;
  /** esri/symbols/SimpleFillSymbol | JSON representation: https://next.gha.afd.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html */
  accessor sketchPolygonSymbol: __esri.SimpleFillSymbol | undefined;
  /** Emitted on demand when selection starts or ends. */
  readonly selectionLoadingChange: import("@arcgis/lumina").TargetedEvent<this, boolean>;
  /** Emitted on demand when selection sets change. */
  readonly selectionSetsChanged: import("@arcgis/lumina").TargetedEvent<this, ISelectionSet[]>;
  readonly "@eventTypes": {
    selectionLoadingChange: RefineSelection["selectionLoadingChange"]["detail"];
    selectionSetsChanged: RefineSelection["selectionSetsChanged"]["detail"];
  };
}