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

/** @since 5.0 */
export interface DotDensityLegendOptionsProperties extends Partial<Pick<DotDensityLegendOptions, "unit">> {}

/** @since 5.0 */
export default class DotDensityLegendOptions extends JSONSupport {
  constructor(properties?: DotDensityLegendOptionsProperties);
  /**
   * 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/components/arcgis-legend/).
   *
   * @since 5.0
   */
  accessor unit: string | null | undefined;
}