import type { RefObject } from 'react'; import type { Table } from '@tanstack/react-table'; import type { TableVirtualizerInstance } from '../../TableContext/types'; interface UseInfiniteScrollOptions { mode: 'container' | 'window'; /** Scroll element ref — required for `container` mode */ scrollRef?: RefObject; table: Table; virtualizerRef: RefObject; tbodyRef?: RefObject; onStartReached?: () => void; onStartReachedThreshold?: number; onEndReached?: () => void; onEndReachedThreshold?: number; initialScrollToRowId?: string; } /** Single entry point for bidirectional infinite scroll behavior. */ export declare const useInfiniteScroll: ({ mode, scrollRef, table, virtualizerRef, tbodyRef, onStartReached, onStartReachedThreshold, onEndReached, onEndReachedThreshold, initialScrollToRowId, }: UseInfiniteScrollOptions) => void; export {};