/** * Tells whether the text of an element is cut off by its width. Attach the returned ref to the * element with `white-space: nowrap` and `overflow: hidden`, and pass the rendered text so a * new text in the same element is measured again; the answer also follows size changes. * * @internal */ export declare function useIsTextTruncated(text: string): { ref: (element: HTMLElement | null) => void; isTruncated: boolean; }; //# sourceMappingURL=useIsTextTruncated.d.ts.map