import { DashboardDataResponse } from '../../../types/Metrics';
import { DashboardVisualisationDataSet, TimeseriesChartMeasure, VisualisationDefinitionKey } from '../../_dashboards/dashboard-visualisation/types';
import { BarTimeseriesDefinitionMeasure, BarTimeseriesDefinitionType } from './bar-timeseries/types';
import { LineTimeseriesDefinitionMeasure, LineTimeseriesDefinitionType } from './line-timeseries/types';
import ChartColoursHelper from './ChartColours';
import { PartialDate } from '../../_filters/types';
import ChartLabelsHelper from './ChartLabels';
declare class TimeseriesChart {
    id: string;
    labels: string[];
    datasets: DashboardVisualisationDataSet[];
    unit: 'NUMBER' | 'PERCENTAGE' | undefined;
    responseData: DashboardDataResponse[];
    measures: TimeseriesChartMeasure;
    keys: VisualisationDefinitionKey[];
    timeBlockData: DashboardDataResponse[][];
    groupKey: LineTimeseriesDefinitionMeasure | BarTimeseriesDefinitionMeasure | undefined;
    datasetCount: number;
    hexColours: string[];
    config: import("./chart-config").ChartOptionsType;
    partialDate: PartialDate | undefined;
    chartColoursHelper: ChartColoursHelper;
    chartLabelsHelper: ChartLabelsHelper;
    withData: (responseData: DashboardDataResponse[]) => this;
    initHelpers: () => void;
    initFromDefinition: (definition: BarTimeseriesDefinitionType | LineTimeseriesDefinitionType) => void;
    withPartialDate: (partialDate?: PartialDate) => this;
    initFromData: () => void;
    buildDatasets: () => void;
    private getLabels;
}
export { TimeseriesChart };
export default TimeseriesChart;
