import { RefObject } from 'react';
type Size = {
    width: number | undefined;
    height: number | undefined;
};
type UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {
    ref: RefObject<T | null>;
    onResize?: (size: Size) => void;
    box?: "border-box" | "content-box" | "device-pixel-content-box";
    round?: boolean;
};
export declare function useResizeObserver<T extends HTMLElement = HTMLElement>(options: UseResizeObserverOptions<T>): Size;
export {};
//# sourceMappingURL=useResizeObserver.d.ts.map