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