import { components } from '../../../../types/api';
import { DashboardDataResponse } from '../../../../types/Metrics';
import { DashboardVisualisationData } from '../../../_dashboards/dashboard-visualisation/types';
import { Granularity } from '../../../_inputs/granular-date-range/types';
declare class HeatmapChart {
    private definition;
    private measures;
    private responseData;
    private granularity;
    private data;
    private dayDateFormat;
    private valueKey;
    private label;
    private unit;
    private bucketsHelper;
    private datasets;
    config: import("../chart-config").ChartOptionsType;
    private xLabels;
    private yLabels;
    withDefinition: (definition: components["schemas"]["DashboardVisualisationDefinition"]) => this;
    withData: (responseData: DashboardDataResponse[]) => this;
    withGranularity: (granularity: Granularity) => this;
    private init;
    initUnit: () => void;
    private setLabel;
    private initTimeseriesData;
    private bucketData;
    private setBespokeOptions;
    setScales(): {
        y: {
            offset: boolean;
            ticks: {
                padding: number;
                maxRotation: number;
                stepSize: number;
            };
            grid: {
                display: boolean;
                drawBorder: boolean;
            };
            labels: (string | number)[];
            position: string;
            type: string;
        };
        x: {
            offset: boolean;
            ticks: {
                padding: number;
                maxRotation: number;
                stepSize: number;
            };
            grid: {
                display: boolean;
                drawBorder: boolean;
            };
            labels: (string | number)[];
            position: string;
            type: string;
        };
    };
    getCanvasHeight: () => number;
    build: () => DashboardVisualisationData;
}
export { HeatmapChart };
export default HeatmapChart;
