import { Axis, ConditionalFormattingRule, Datum, GoalLine, Key, KeyId, ShapeDefinition, Tick } from '../ChartsV2/types';
export declare type YAxis = Axis<Date | string | number | boolean, {
    key: KeyId;
}>;
export declare type XAxis = Axis<number, {
    keys: KeyId[];
}>;
declare type BaseHorizontalChartRepresentation = {
    keys: {
        [key: KeyId]: Key;
    };
    x: XAxis;
    y: YAxis;
    data: Datum[];
};
export interface HorizontalBarChartRepresentation extends BaseHorizontalChartRepresentation {
    conditionalFormattingRules: ConditionalFormattingRule[];
    goalLines: GoalLine[];
    bars: ShapeDefinition<BarStyles>[];
}
export declare type BarStyles = {
    type: 'bar';
};
export declare type ChartOnViewClick = {
    clickedValue: {
        index: number;
        x: {
            key: string;
            value: number;
        };
        y: Tick<string | number | Date | boolean>;
    };
    clickEvent: {
        clientX: number;
        nativeEvent: {
            clientX: number;
            clientY: number;
        };
    };
};
export {};
