import type { JSONSupport, JSONSupportMixinProperties } from "../../core/JSONSupport.js";

export interface DotDensityLegendOptionsProperties extends JSONSupportMixinProperties, Partial<Pick<DotDensityLegendOptions, "unit">> {}

export default abstract class DotDensityLegendOptions extends JSONSupport {
  /**
   * Indicates the unit of the data being visualized.
   *   this will display next to the dot value in the title of the [Legend](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-legend/).
   */
  accessor unit: string | null | undefined;
}