import { type RefObject } from 'react'; interface ComputeArgs { containerWidth: number; methodWidth: number; encodingWidth: number; segmentWidths: number[]; jointsWidth: number; } interface TruncationResult { isTruncated: boolean; visibleSegmentIndices: number[]; } export declare const computeTruncation: ({ containerWidth, methodWidth, encodingWidth, segmentWidths, jointsWidth, }: ComputeArgs) => TruncationResult; interface UseTruncationArgs { containerRef: RefObject; measurementRef: RefObject; segmentCount: number; hasMethod: boolean; hasEncoding: boolean; } export declare const useParameterPathTruncation: ({ containerRef, measurementRef, segmentCount, hasMethod, hasEncoding, }: UseTruncationArgs) => TruncationResult; export {};