import { RefObject } from 'react';
type UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {
    ref: RefObject<T>;
    onResize?: () => void;
};
export declare const useResizeObserver: <Element extends HTMLElement = HTMLElement>({ ref, onResize, }: UseResizeObserverOptions<Element>) => void;
export {};
