import { CSSProperties, FunctionComponent } from 'react';
import { ChartData, ChartLegendTheme, ColorFormatterByDatum } from '../types';
import { ChartType } from './types';
export declare type TypeIndex = {
    index: number;
    type: ChartType;
};
export declare type ConditionalFormattingOption = {
    isRuleOnDimension: boolean;
    explanation: string;
    color: string;
    conditionIsMet: (key: string) => boolean;
};
export declare const Legend: FunctionComponent<{
    funnelChart?: boolean;
    keys?: Array<string>;
    colors?: Array<string>;
    typeIndex?: TypeIndex[];
    alignCenter?: boolean;
    legendTheme?: ChartLegendTheme;
    formatSeriesName?: (dataKey: string) => string | undefined;
    formatter?: ColorFormatterByDatum;
    data?: ChartData[];
    conditionalFormattingPossibilities?: (dataKey: string) => Array<ConditionalFormattingOption>;
    replaceDimensionColorsIfPossible?: boolean;
    getIndicatorStyles?: (key: string) => CSSProperties | undefined;
}>;
