import { RefObject } from 'react';
/**
 * Hook parameters.
 */
interface Props {
    /**
     * Ref object from `useRef`.
     */
    ref?: RefObject<Element> | null;
    /**
     * Callback to fire when the observed component or Element
     * comes into view.
     */
    callback?: ResizeObserverCallback;
}
export declare function useResizeObserver({ ref, callback }: Props): ResizeObserverEntry;
export {};
