type ObserverRect = Omit; /** * A custom hook that uses the ResizeObserver API to track the size changes of a DOM element. * * @template T - The type of the DOM element being observed. * @param {ResizeObserverOptions} [options] - The options to configure the ResizeObserver. * @returns {[React.RefObject, ObserverRect]} - A tuple containing the ref object and * the observed rectangle. * @example * * const [rightElementRef, rect] = useResizeObserver(); *
* Observed: {JSON.stringify(rect)} *
*/ export declare function useResizeObserver(options?: ResizeObserverOptions): readonly [import("react").RefObject, ObserverRect]; export {};