import { NumberRange } from "../../utils/scale"; import { Threshold } from "./index"; import { ColumnItem, GroupItem } from "./components/Group/index"; import { Position, Size as TickSize } from "./components/Ticks/index"; export declare const barCharSizes: readonly ["s", "m", "l", "xl", "2xl", "3xl", "auto"]; export declare type Size = typeof barCharSizes[number]; export declare type ColumnSize = Exclude; export declare type ShowPositions = { [key in Position]: boolean; }; export declare type GetGroupSize = (params: { columnPadding: number; columnWidth: number; group: GroupItem; }) => number; export declare type GetGroupsDomain = (groups: readonly GroupItem[]) => readonly string[]; export declare type GetValuesDomain = (params: { groups: readonly GroupItem[]; showReversed: boolean; threshold?: Threshold; }) => NumberRange; export declare type GetAxisShowPositions = (params: { isHorizontal: boolean; showReversed: boolean; }) => ShowPositions; export declare const CHART_MIN_HEIGHT = 153; export declare const GROUP_INNER_PADDING: Record; export declare const OUTER_PADDING = 2; export declare const getRange: (size: number, shouldFlip?: boolean | undefined) => NumberRange; export declare const getTotalByColumn: (column: ColumnItem | undefined) => number; export declare const getValuesDomain: GetValuesDomain; export declare const getGroupsDomain: GetGroupsDomain; export declare const getEveryNTick: (items: readonly number[], n: number) => readonly number[]; export declare const getGraphStepSize: (graphSize: number, groupsSizes: readonly number[]) => number; export declare const toAxisSize: (size: Size) => TickSize; declare type GetColumnSizeParams = { size: Size; valueLength: number; isHorizontal: boolean; }; export declare const getColumnSize: (params: GetColumnSizeParams) => ColumnSize; export declare const defaultGetAxisShowPositions: GetAxisShowPositions; export declare const getScaler: (maxValue: number) => (value: number) => number; export declare const getGridSettings: (params: { countGroups: number; showUnitBottom: boolean; showUnitLeft: boolean; maxColumn: number; } & ({ isHorizontal: true; axisShowPositions: ShowPositions; } | { isHorizontal: false; })) => React.CSSProperties; export declare const getLabelGridAreaName: (position: Position) => (index: number) => string; export declare const isShowReversed: ({ groups, threshold, }: { groups: readonly GroupItem[]; threshold?: Threshold | undefined; }) => boolean; export declare const isMultiColumn: (groups: readonly GroupItem[]) => boolean; export declare const getCommonGroupsMaxColumns: (groups: readonly GroupItem[]) => number; export declare const GRID_GAP_SPACE: { '2xs': string; xs: string; m: string; s: string; }; export declare const getGridRowGap: (axisSize: Size, isHorizontal?: boolean | undefined) => string; export declare const getGridColumnGap: (axisSize: Size) => string; export {};