import type { PropsWithChildren } from 'react'; import React from 'react'; import type { PaginatorProps } from '../../types/types'; export type InfiniteScrollProps = PaginatorProps & { className?: string; element?: React.ElementType; /** Rendered before `loader` and `children`. */ head?: React.ReactNode; initialLoad?: boolean; isLoading?: boolean; listenToScroll?: (offset: number, reverseOffset: number, threshold: number) => void; loader?: React.ReactNode; useCapture?: boolean; }; /** * Calls `loadPreviousPage` or `loadNextPage` when the parent scroll container comes within * `threshold` of its top or bottom. The `resize` listener on that container never fires for element * resizes (only the window emits `resize`), so growing content does not re-run the check. */ export declare const InfiniteScroll: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=InfiniteScroll.d.ts.map