interface LegendItem {
    label: string;
    color: string;
}
interface ChartLegendProps {
    items: LegendItem[];
    /** Compact mode: smaller dots/font, tighter spacing, left-aligned */
    compact?: boolean;
}
export default function ChartLegend({ items, compact }: ChartLegendProps): import("react/jsx-runtime").JSX.Element | null;
export {};
