import React from 'react';
import { AxisTitles, BarStyleOverrides, ChartIdPrefix, Datum, DatumByKey, GoalLine, OnClickEvent, Props as VizzlyXYChartProps } from '../XYChart';
import { ChartData, ChartProps, ColorFormatterByDatum } from '../types';
import { ChartRef } from '../utils/chartRendering';
import { ConditionalFormattingOption } from '../Legend/Legend';
export interface BarChartProps extends ChartProps {
    x: string;
    keys: Array<string>;
    colors: Array<string>;
    data: Array<ChartData>;
    forceXAxisAsTime?: boolean;
    type: 'grouped' | 'stacked';
    showTotalOnTooltip?: boolean;
    formatSeriesName: VizzlyXYChartProps['formatSeriesName'];
    formatter: ColorFormatterByDatum;
    uniqueId: string;
    sparkline?: boolean;
    conditionalFormattingPossibilities?: (dataKey: string) => Array<ConditionalFormattingOption>;
    onClick?: (value: Datum | undefined, nearestDatums?: DatumByKey, event?: OnClickEvent) => void;
    goalLine?: GoalLine[];
    axisTitles?: AxisTitles;
    styles?: BarStyleOverrides;
    idPrefix: ChartIdPrefix;
    enableHover?: boolean;
}
export declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & React.RefAttributes<ChartRef>>;
