type Args = {
    enabled: boolean;
    target: React.RefObject<Element | null>;
    rootSelector: string;
    onIntersect(): void;
    canLoad: boolean;
};
export declare function useInfiniteScrollInModal({ canLoad, enabled, onIntersect, rootSelector, target }: Args): void;
export {};
