/** * Reports whether a CSS line-clamped element is actually overflowing — i.e. * its content is taller than the clamped box (`scrollHeight > clientHeight`). * * Used to drive "show the affordance only when the text is really cut": * a tooltip on a clamped title, a "Read more" toggle on a clamped body. * Because line-clamp keeps the full text in the DOM, this is purely a * sighted-user convenience — assistive tech reads the full text regardless. * * Re-measures on element resize (a narrower column wraps more, so a title * that fit at full width may clip in a two-column grid). `enabled` lets the * caller switch measurement off — e.g. while a description is expanded, there * is nothing to measure. */ export declare function useClampOverflow(enabled: boolean): { ref: import("react").RefObject; isOverflowing: boolean; }; //# sourceMappingURL=use-clamp-overflow.d.ts.map