import { FC } from 'react';
import { Style } from 'inlines';
import { ColorNonSemanticBackgroundColors } from '../../varsTypes';
import { NumberFormat } from '@based/pretty-number';
export type BarGraphSingleItem = {
    label: string;
    value: number;
    color?: ColorNonSemanticBackgroundColors;
    [key: string]: any;
};
type BarGraphProps = {
    data: BarGraphSingleItem[];
    direction?: 'horizontal' | 'vertical';
    valueFormat?: NumberFormat;
    style?: Style;
    color?: ColorNonSemanticBackgroundColors;
    barWidth?: number;
    stacked?: boolean;
    nested?: boolean;
    spacing?: number;
    showAxis?: boolean;
    legend?: boolean;
};
export declare const BarGraph: FC<BarGraphProps>;
export {};
