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