export interface LegendItem { label: string; /** The series color (from seriesFill / the chart-N tokens). */ color: string; /** Optional right-aligned secondary text (e.g. "42%"). */ detail?: string; /** A line mark's swatch: a 12 by 2 rule in place of the square (a candlestick overlay, a dashed target). */ line?: boolean; /** The rule dashed, for a series drawn dashed (implies `line`). */ dashed?: boolean; /** A translucent series keeps the same wash in its legend mark. */ opacity?: number; /** Width of a line-series swatch in authored specimens. */ strokeWidth?: number; } export interface ChartLegendProps { items: LegendItem[]; /** Lay items out as a wrapping row (multi-series cartesian charts) instead of a column. */ horizontal?: boolean; /** Drop the frame gap above the legend: the caller places it (beside a disc, in its own gap). */ flush?: boolean; /** A note at the end of a horizontal legend's row, pushed to its right edge in the 11 px mono third ink. */ caption?: string; } export declare function ChartLegend({ items, horizontal, flush, caption, }: ChartLegendProps): import("react").JSX.Element; //# sourceMappingURL=chart-legend.d.ts.map