import type { ChartsLegendProps } from "./ChartsLegend.js";
import { type ContinuousColorLegendProps } from "./ContinuousColorLegend.js";
import { type ChartsLegendPosition } from "./legend.types.js";
import { type PiecewiseColorLegendProps } from "./PiecewiseColorLegend.js";
export interface ChartsLegendSlots {
  /**
   * Custom rendering of the legend.
   * @default ChartsLegend
   */
  legend?: React.JSXElementConstructor<ChartsLegendProps> | React.JSXElementConstructor<ContinuousColorLegendProps> | React.JSXElementConstructor<PiecewiseColorLegendProps>;
}
export interface ChartsLegendSlotProps {
  legend?: Partial<ChartsLegendProps | ContinuousColorLegendProps | PiecewiseColorLegendProps> & ChartsLegendPosition;
}
export interface ChartsLegendSlotExtension {
  /**
   * Overridable component slots.
   * @default {}
   */
  slots?: ChartsLegendSlots;
  /**
   * The props used for each component slot.
   * @default {}
   */
  slotProps?: ChartsLegendSlotProps;
}