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