import { InfinitePaginationContextValue } from './InfinitePaginationContext'; /** * Hook to read the infinite pagination callbacks from the InfinitePaginationContext. * * Must be used within a (e.g. as a descendent of * or ). * * @typedef {Object} InfinitePaginationContextValue * @prop {Function} fetchNextPage a callback to fetch the next page * @prop {Function} fetchPreviousPage a callback to fetch the previous page * * @returns {InfinitePaginationContextValue} infinite pagination callbacks * * @see useInfiniteListController for how the callbacks are built */ export declare const useInfinitePaginationContext: () => InfinitePaginationContextValue; //# sourceMappingURL=useInfinitePaginationContext.d.ts.map