import React from "react";
import { ChartsLegendProps } from "@mui/x-charts/ChartsLegend";
import { DatasetType, MakeOptional, SeriesId } from "@mui/x-charts/internals";
import { BarSeriesType } from "@mui/x-charts/models/seriesType";
import { Granularity } from "../../types/dashboard";
declare module "@mui/material/styles" {
    interface Palette {
        graphColorPrimary?: {
            main: string;
        };
    }
}
export interface BarChartProps {
    dataset: DatasetType;
    series?: MakeOptional<BarSeriesType, "type">[];
    dataKeyX: string;
    dataKeyY?: string;
    height?: number;
    granularity?: Granularity;
    yAxisOptions?: object;
    legendProps?: ChartsLegendProps;
    highlightedSerie?: SeriesId;
}
export declare const BarChart: React.FC<BarChartProps>;
export default BarChart;
