import { type TickItem } from "../hooks/useTicks.js";
import { type ChartsXAxisProps } from "../models/axis.js";
import { type ChartDrawingArea } from "../hooks/useDrawingArea.js";
export declare function shortenLabels(visibleLabels: Set<TickItem>, drawingArea: Pick<ChartDrawingArea, 'left' | 'width' | 'right'>, maxHeight: number, isRtl: boolean, tickLabelStyle: ChartsXAxisProps['tickLabelStyle']): Map<TickItem, string>;