import { LabelAlignment, RangeLabel } from '../types/range-legend.internal.js'; /** * Hook responsible to detect and resolve the collisions for the intermediate labels. * The collision is relative to the bounds of the legend, meaning that if a * label will overflow the start segment or the end segment position, text truncation * will be applied. */ export declare const useLegendIntermediateLabelCollisionDetector: (labelText: string, segmentStartPosition: number, segmentEndPosition: number, alignment: LabelAlignment, skipCollisionDetector: boolean) => RangeLabel;