import { RenderPluginFactory, CoreVizPluginInstance } from '../../api/plugin-types';
import { Field, NestField } from '../../data_tree';
import { LineChartSettings } from './get-line_chart-settings';
interface LineChartPluginMetadata {
    type: 'line';
    field: NestField;
    settings: LineChartSettings;
}
interface SeriesStats {
    sum: number;
    count: number;
    avg: number;
}
interface LineChartPluginInstance extends CoreVizPluginInstance<LineChartPluginMetadata> {
    field: NestField;
    seriesStats: Map<string, SeriesStats>;
    getTopNSeries: (maxSeries: number) => (string | number | boolean)[];
    syntheticSeriesField?: Field;
}
export declare const LineChartPluginFactory: RenderPluginFactory<LineChartPluginInstance>;
export type { LineChartPluginInstance };
