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

export interface SizeVariableLegendOptionsProperties extends VisualVariableLegendOptionsProperties, Partial<Pick<SizeVariableLegendOptions, "customValues">> {}

export default abstract class SizeVariableLegendOptions extends VisualVariableLegendOptions {
  /**
   * Overrides the legend values with values specified here. This is typically used
   *   to round values interpolated from the SizeVariable to rounded numbers.
   */
  accessor customValues: number[] | null | undefined;
}