import { default as React } from 'react';
import { BarChart as RechartsBarChart, XAxisProps, YAxisProps } from 'recharts';
import { DataType } from './chartHelper';
import { ChartTooltipProps } from './ChartTooltip';
import { LegendProps } from './Legend';
import { BarProps } from './Bar';
import { GridProps } from './ChartGrid';
import { ResponsiveContainerProps } from './ResponsiveContainer';
export type BarChartDataType = DataType;
type RechartsBarChartProps = React.ComponentProps<typeof RechartsBarChart>;
type withoutBaseProps = 'data' | 'layout' | 'bars' | 'legend';
export type BarChartProps<T extends DataType> = Omit<RechartsBarChartProps, withoutBaseProps> & {
    width?: number;
    height?: number;
    data: T[];
    dataUnit?: string;
    layout?: 'vertical' | 'horizontal';
    bars: React.ReactElement<BarProps>[];
    showGrid?: boolean;
    showXAxis?: boolean;
    showYAxis?: boolean;
    useDataColors?: boolean;
    xAxisOptions?: XAxisProps;
    yAxisOptions?: YAxisProps;
    additionalAxes?: React.ReactElement<XAxisProps | YAxisProps>[];
    gridOptions?: GridProps;
    containerOptions?: ResponsiveContainerProps;
    legend?: React.ReactElement<LegendProps> | boolean;
    tooltip?: React.ReactElement<ChartTooltipProps> | boolean;
    brush?: boolean;
};
declare const BarChart: <T extends DataType>(props: BarChartProps<T>) => import("react/jsx-runtime").JSX.Element;
export default BarChart;
