import { Chart } from '@antv/g2';
/** 计算每个legend的统计数据 */
export declare function getStatistics(chart: Chart, statistics: Array<'min' | 'max' | 'avg' | 'current'>, legendField: string): Record<string, any>;
/** 过滤legend */
export declare function filterLegend(chart: Chart, condition: (value: any) => boolean, legendField: string): void;
/** 高亮legend */
export declare function highlightLegend(chart: Chart, condition: (value: any) => boolean, legendField: string): void;
/** 清除高亮 */
export declare function clearHighlight(chart: Chart): void;
declare const _default: (base: any, config: any) => any;
export default _default;
