/**
* Observes an HTML element's height via `ResizeObserver` and reports the latest
* measured height in CSS pixels.
*
* Returns a callback ref to attach to the target element and the current height.
* Height is `0` while no element is attached. The observer is re-bound when the
* attached node changes and disconnected on unmount.
*
* @example
* ```tsx
* const { ref, height } = useElementHeight();
* return {height}px
;
* ```
* @internal
*/
export declare function useElementHeight(): {
ref: (node: T | null) => void;
height: number;
};