/// <reference types="react" />
import { AreaStyles } from '../../../../../../shared-logic/src/AreaChartV2/types';
import { BarStyles } from '../../../../../../shared-logic/src/BarChartV2/types';
import { BubbleStyles } from '../../../../../../shared-logic/src/BubbleChartV2/types';
import { ConditionalFormattingRule, ShapeDefinition } from '../../../../../../shared-logic/src/ChartsV2/types';
import { LineStyles } from '../../../../../../shared-logic/src/LineChartV2/types';
import { ChartLegendTheme } from '../../../../types';
interface LegendItemProps<T> extends ShapeDefinition<T> {
    onClick: () => void;
    visible: boolean;
    yKeyFormatted: string | undefined;
    conditionalFormattingRules: Array<ConditionalFormattingRule>;
    legendTheme?: ChartLegendTheme;
}
export declare const LegendItem: ({ yKey, yKeyFormatted, color, style, onClick, visible, conditionalFormattingRules, legendTheme, }: LegendItemProps<BarStyles | LineStyles | AreaStyles | BubbleStyles>) => JSX.Element;
export {};
