/** * Hook to detect if text content is overflowing its container * Useful for conditionally showing tooltips or truncation indicators * * @returns Object containing ref to attach to element and overflow state * * @example * function Component() { * const { textRef, isOverflowing } = useTextOverflow(); * return ( *
* {isOverflowing && } * Long text content... *
* ); * } */ export declare const useTextOverflow: (deps?: unknown[]) => { textRef: React.RefObject; isOverflowing: boolean; }; //# sourceMappingURL=useTextOverflow.d.ts.map