/// <reference types="react" />
import { ChartOnViewClick, HorizontalBarChartRepresentation } from '../../../../../shared-logic/src/HorizontalBarChartV2/types';
import { Result } from '../../../../../shared-logic/src/Result/types';
import { ChartTheme } from '../../../types';
import { HorizontalLayoutAdjustments } from '../../utils/layout/sharedLayout.types';
export declare type HorizontalBarChartProps = {
    width: number;
    height: number;
    theme?: ChartTheme;
    chart: HorizontalBarChartRepresentation;
    options: {
        stacked: boolean | string;
        showRoundedTotal: boolean;
        showLegend: boolean;
        showLabels: boolean;
        showSublabels: boolean;
        removeStroke: boolean;
        axis: {
            showXAxisLabels: boolean;
            showYAxisLabels: boolean;
        };
    };
    onClick?: (params: ChartOnViewClick) => void;
    enableHover?: boolean;
    numberOfDimensions: number;
    formatXAxisLabel?: (value: any) => any;
    formatYAxisLabel?: (value: any) => any;
    yKeyField?: Result.Field;
};
declare type ComputeHorizontalBarChartLayoutArgs = {
    chart: HorizontalBarChartRepresentation;
    width: number;
    height: number;
    showXAxisLabels: boolean;
    showYAxisLabels: boolean;
    hasLeftTitle: boolean;
    hasBottomTitle: boolean;
    yKeyField?: Result.Field;
    layoutAdjustments: HorizontalLayoutAdjustments;
    theme?: ChartTheme;
};
export declare const computeHorizontalBarChartLayout: ({ chart, width, height, showXAxisLabels, showYAxisLabels, hasLeftTitle, hasBottomTitle, yKeyField, layoutAdjustments, theme, }: ComputeHorizontalBarChartLayoutArgs) => {
    chart: HorizontalBarChartRepresentation;
    margin: import("../../utils/buildMargin").Margin;
    innerWidth: number;
    innerHeight: number;
    showYAxisLabels: boolean;
};
export declare const HorizontalBarChart: ({ chart, width, height, options, theme, onClick, enableHover, numberOfDimensions, formatXAxisLabel, formatYAxisLabel, yKeyField, }: HorizontalBarChartProps) => JSX.Element;
export {};
