/// <reference path="../../index.d.ts" />
import type MapView from "@arcgis/core/views/MapView.js";
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
import type { Ref } from "lit-html/directives/ref.js";
import type { ArcgisLegend as ArcgisLegend2 } from "@arcgis/map-components/components/arcgis-legend";

export abstract class MapLegend extends LitElement {
  /** arcgis-legend web component ref */
  accessor legendRef: Ref<ArcgisLegend2>;
  /** esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html */
  accessor mapView: MapView | undefined;
}