import { IPieChartData } from './interfaces';
import { default as IBaseChartProps } from '../../interfaces/IBaseChartProps';
/**
 * Props for the PieChart component.
 *
 * By default the chart renders at a fixed size (`size` as a number, else
 * `height`, default 300px) — unchanged from before. Pass `size="100%"` (or
 * `"auto"`) to make it responsive: it then fills its container and scales the
 * pie and center text with the available space. In responsive mode, use
 * percentage radii on the data items (e.g. `innerRadius="40%"`) so the pie
 * scales with the container.
 *
 * @template T - The type of data items
 */
export default interface IPieChartProps<T> extends IBaseChartProps {
    /**
     * Array of pie chart data configurations
     */
    dataItems: IPieChartData<T>[];
    /**
     * Controls how the chart is sized.
     *
     * - `"100%"` / `"auto"` — responsive: the chart fills its container and the
     *   pie fits `min(width, height)`, scaling with the available space.
     * - a number — a fixed square of that many pixels.
     * - omitted — fixed, falling back to `height` (default 300px). Backward
     *   compatible with existing consumers.
     */
    size?: number | '100%' | 'auto';
}
