import { type RefObject } from 'react'; /** * @param textRef - The reference attach to the text ellipsis component * @param itemName - The item name without cropping. * @param width - the width of the container * @param height - the height of the container * @returns true or false depending whether name is truncated or not. */ export declare const useTruncationDetector: (textRef: RefObject, itemName: string, width?: number, height?: number) => boolean;