export interface UseBidirectionalInfiniteScrollParams { onLoadOlder?: () => void | Promise; onLoadNewer?: () => void | Promise; isLoadingOlder?: boolean; isLoadingNewer?: boolean; root?: React.RefObject; rootMargin?: string; } export declare function useBidirectionalInfiniteScroll({ onLoadOlder, onLoadNewer, isLoadingOlder, isLoadingNewer, root, rootMargin, }: UseBidirectionalInfiniteScrollParams): { topSentinelRef: import("react").MutableRefObject; bottomSentinelRef: import("react").MutableRefObject; }; //# sourceMappingURL=useBidirectionalInfiniteScroll.d.ts.map