///
export type IntersectionObserverOptions = Omit & {
root?: () => Element | Document | null;
ref?: React.RefObject | null;
};
/**
* @see {@link https://malkiii.github.io/react-pre-hooks/docs/hooks/useIntersectionObserver | useIntersectionObserver} hook.
*/
export declare const useIntersectionObserver: (args: IntersectionObserverOptions & {
handler: IntersectionObserverCallback;
}) => {
ref: import("react").RefObject;
observerRef: import("react").MutableRefObject;
};