import React from 'react'; import { LabelPosition, LabelType, Size } from "../LegendItem/index"; export declare const directions: readonly ["column", "row"]; export declare type Direction = typeof directions[number]; export declare type Item = { text: string; color: string; }; export declare type Data = readonly Item[]; declare type Props = { data: Data; direction: Direction; labelType: LabelType; fontSize: Size; labelPosition: LabelPosition; lineBold?: boolean; onItemMouseEnter?: (item: Item) => void; onItemMouseLeave?: (item: Item) => void; }; export declare const Legend: React.FC; export {};