import React from 'react';
import { DonutChartData } from './types';
interface LegendProps {
    chartData: DonutChartData[];
    backgroundColors: string[];
    /** 按图索引维护的隐藏集合 */
    hiddenDataIndicesByChart: Record<number, Set<number>>;
    /** 当前图索引 */
    chartIndex: number;
    onLegendItemClick: (index: number) => void;
    total: number;
    baseClassName: string;
    hashId: string;
    isMobile: boolean;
}
declare const Legend: React.FC<LegendProps>;
export default Legend;
