import { ReactNode } from 'react'; export declare enum LegendItemType { Row = 0, Divider = 1 } export type TLegendItemRow = { kind: LegendItemType.Row; title: ReactNode; titleType?: 'BTR3' | 'BTM3'; tooltip?: ReactNode; icon?: ReactNode; value?: number | ReactNode; valueType?: 'MTR3' | 'BTR3'; color?: string; selected?: boolean; checked?: boolean; payload?: T; className?: string; }; export type TLegendItemDivider = { kind: LegendItemType.Divider; }; export type TLegendItem = TLegendItemDivider | TLegendItemRow;