import type VisualVariableLegendOptions from "./VisualVariableLegendOptions.js";
import type { VisualVariableLegendOptionsProperties } from "./VisualVariableLegendOptions.js";

/** @since 5.0 */
export interface SizeVariableLegendOptionsProperties extends VisualVariableLegendOptionsProperties, Partial<Pick<SizeVariableLegendOptions, "customValues">> {}

/** @since 5.0 */
export default class SizeVariableLegendOptions extends VisualVariableLegendOptions {
  constructor(properties?: SizeVariableLegendOptionsProperties);
  /**
   * Overrides the legend values with values specified here. This is typically used
   *   to round values interpolated from the SizeVariable to rounded numbers.
   *
   * @since 5.0
   */
  accessor customValues: number[] | null | undefined;
}