import { TruncationMode } from '../../../../../../typography/text-ellipsis/TextEllipsis.js'; import { HorizontalCoords, LabelAlignment, RangeLabel } from '../types/range-legend.internal.js'; /** * Check if for the given label position the text will fit in the bounds of the container. * In the case where the label does not fit applies the ellipsis to it. */ export declare const handleCollisionInVerticalLayout: (labelText: string, segment: HorizontalCoords, alignment: LabelAlignment, truncationMode: TruncationMode, bounds: number[]) => RangeLabel;