import type { ModelWithLegend } from "../mixins/model-with-legend.js";

export abstract class PieChartLegendModel extends PieChartLegendModelSuperclass {
  /** Whether to display the category in the legend. */
  accessor displayCategory: boolean;
  /**
   * The maximum width in pixel for the legend value labels.
   *
   * @returns {number}
   */
  get valueLabelMaxWidth(): number;
  set valueLabelMaxWidth(value: number | undefined);
  /**
   * Gets the setting for the display of numerical value in the legend items.
   *
   * **Note**: Only applicable to pie charts.
   */
  getDisplayNumericValue(): boolean;
  /**
   * Gets the setting for the display of percentage in the legend items.
   *
   * **Note**: Only applicable to pie charts.
   */
  getDisplayPercentage(): boolean;
  /**
   * Gets the maximum width in pixel for the legend item labels.
   *
   * **Note**: Only applicable to pie charts.
   */
  getLabelMaxWidth(): number;
  /**
   * Sets the setting for the display of numerical value in the legend items.
   *
   * **Note**: Only applicable to pie charts.
   *
   * @param displayNumericValue - The setting for the display of numerical value in the legend items
   */
  setDisplayNumericValue(displayNumericValue: boolean): void;
  /**
   * Sets the setting for the display of percentage in the legend items.
   *
   * **Note**: Only applicable to pie charts.
   *
   * @param displayPercentage - The setting for the display of percentage in the legend items
   */
  setDisplayPercentage(displayPercentage: boolean): void;
  /**
   * Sets the maximum width in pixel for the legend item labels.
   *
   * **Note**: Only applicable to pie charts.
   *
   * @param labelMaxWidth - The maximum width in pixel for the legend item labels
   */
  setLabelMaxWidth(labelMaxWidth: number | undefined): void;
}
declare const PieChartLegendModelSuperclass: typeof ModelWithLegend & typeof ModelWithLegend