import * as react from 'react';

interface ObserverRect extends Omit<DOMRectReadOnly, "toJSON"> {
}
/**
 * `useResizeObserver` is a custom hook that tracks changes in the size and position of an element.
 *
 * @see Docs https://yamada-ui.com/hooks/use-resize-observer
 */
declare const useResizeObserver: <T extends HTMLElement = any>() => readonly [react.RefObject<T>, ObserverRect];
declare const useElementSize: <T extends HTMLElement = any>() => {
    ref: react.RefObject<T>;
    height: number;
    width: number;
};

export { type ObserverRect, useElementSize, useResizeObserver };
