/**
* Observes a HTMLElement and returns its bounding rect.
* Updates when the element's size changes.
*
* If a ref to a HTMLElement is passed and ref.current is null it polls the ref to detect when
* the HTMLElement value gets assigned to ref.current, this is useful in case the Component
* using this hook does not rerender when ref.current changes.
*
* @param element - The HTMLElement, null, or a ref to an HTMLElement to observe
* @param updateOnWindowResize - Whether to update the rect on window resize (default: false)
* @param windowResizeThrottle - Throttle interval in ms for window resize updates (default: 0)
* @returns The DOMRect of the element, or undefined if element is not available
*
* @example
* ```ts
* const ref = useRef(null);
* const rect = useBoundingRect(ref);
*
* const [element, setElement] = useState(null);
* const rect2 = useBoundingRect(element);
*
* // Update on window resize with 150ms throttle
* const rect3 = useBoundingRect(ref, true, 150);
* ```
*/
export declare const useBoundingRect: (element: HTMLElement | null | React.RefObject, updateOnWindowResize?: boolean, windowResizeThrottle?: number) => DOMRect | undefined;
//# sourceMappingURL=useBoundingRect.d.ts.map