import { ReactNode } from 'react'; import { TLegendItem, TLegendItemRow } from '../types'; export interface ILegendProps { className?: string; items: TLegendItem[]; showTotal?: boolean; showPercentage?: boolean; getNumberFromData?: (item: TLegendItem) => number; selectable?: boolean; multiselect?: boolean; noPadding?: boolean; orientation?: 'horizontal' | 'vertical'; legendTitle?: string | ReactNode; description?: string; totalLabel?: string; precision?: number; percentFontSize?: number; widthMode?: 'medium' | 'flex'; maxHeightScrollContainer?: number; onCheck?: (item: TLegendItemRow, show: boolean) => void; onSelect?: (item: TLegendItemRow, show: boolean) => void; onHover?: (item: TLegendItemRow) => void; onLeave?: (item: TLegendItemRow) => void; } declare const LegendGeneric: ({ className, items, getNumberFromData, showTotal, showPercentage, legendTitle, selectable, multiselect, noPadding, orientation, description, precision, percentFontSize, widthMode, maxHeightScrollContainer, totalLabel, onCheck, onSelect, onHover, onLeave }: ILegendProps) => JSX.Element; export declare const Legend: typeof LegendGeneric; export {};