import type { FC, HTMLAttributes, Ref } from 'react'; import type { LineChartLegendOrientation } from './LineChartContext'; export interface LineChartLegendProps extends HTMLAttributes { ref?: Ref; /** * How legend rows lay out inside the legend itself. Defaults to `'horizontal'`. * Use `'vertical'` when the legend sits to the side of the chart (the consumer * controls placement by JSX child order or by wrapping body+legend in an * ``). Layout-vs-orientation is the only knob the legend exposes. */ orientation?: LineChartLegendOrientation; /** Cross-axis alignment of the legend rows. Default `'start'`. */ align?: 'start' | 'center' | 'end'; } export declare const LineChartLegend: FC;