///
import { FormatValue } from "../../types";
import { NumberRange } from "../../utils/scale";
import { GetAxisShowPositions, Size } from "./helpers";
import { RenderAxisValues, RenderGroup, RenderGroupsLabels } from "./renders";
export declare const unitPositions: readonly ["left", "bottom", "left-and-bottom", "none"];
export declare type UnitPosition = typeof unitPositions[number];
export declare type OnMouseHoverColumn = (groupName: string) => void;
export declare type Threshold = {
value: number;
color: string;
};
export declare type LabelSize = {
width: number;
height: number;
};
export declare type Props = {
groupsDomain: readonly string[];
valuesDomain: NumberRange;
groups: readonly T[];
maxColumn: number;
gridTicks: number;
valuesTicks: number;
size: Size;
isHorizontal?: boolean;
withScroll?: boolean;
showValues?: boolean;
showReversed?: boolean;
isXAxisLabelsSlanted?: boolean;
unit?: string;
unitPosition?: UnitPosition;
isDense?: boolean;
activeSectionIndex?: number;
activeGroup?: string;
threshold?: Threshold;
renderGroup: RenderGroup;
getAxisShowPositions?: GetAxisShowPositions;
formatValueForLabel?: FormatValue;
formatValueForTooltip?: FormatValue;
renderGroupsLabels?: RenderGroupsLabels;
renderAxisValues?: RenderAxisValues;
onMouseEnterColumn?: OnMouseHoverColumn;
onMouseLeaveColumn?: OnMouseHoverColumn;
gridRowGap?: number | string;
gridColumnGap?: number | string;
};
export declare const CoreBarChart: (props: Props) => JSX.Element;