import { IntersectionObserverHookArgs, IntersectionObserverHookRefCallback, IntersectionObserverHookRootRefCallback } from 'react-intersection-observer-hook';
export declare type UseInfiniteScrollHookResult = [
    IntersectionObserverHookRefCallback,
    {
        rootRef: IntersectionObserverHookRootRefCallback;
    }
];
export declare type UseInfiniteScrollHookArgs = Pick<IntersectionObserverHookArgs, 'rootMargin'> & {
    loading: boolean;
    hasNextPage: boolean;
    onLoadMore: VoidFunction;
    disabled?: boolean;
    delayInMs?: number;
};
export declare const useInfiniteScroll: ({ loading, hasNextPage, onLoadMore, rootMargin, disabled, delayInMs, }: UseInfiniteScrollHookArgs) => UseInfiniteScrollHookResult;
