/// <reference types="react" />
export declare type LegendItem = {
    text: string | JSX.Element;
    symbol?: JSX.Element;
    symbolClass?: string;
    textClass?: string;
    hidden?: boolean | null;
};
export declare type LegendProps = {
    items: LegendItem[];
    vertical?: boolean;
};
export declare function Legend({ items, vertical }: LegendProps): JSX.Element;
