import { InfiniteListControllerResult } from './useInfiniteListController';
/**
* Context to store the pagination callbacks from the useInfiniteListController() result.
*
* Use the useInfinitePaginationContext() hook to read the pagination callbacks.
*
* @typedef {Object} InfinitePaginationContextValue
* @prop {Function} fetchNextPage a callback to fetch the next page
* @prop {Function} fetchPreviousPage a callback to fetch the previous page
* @example
*
* import { useListController, ListPaginationContext } from 'ra-core';
*
* const List = props => {
* const { fetchNextPage, fetchPreviousPage } = useInfiniteListController(props);
* return (
*
* ...
*
* );
* };
*/
export declare const InfinitePaginationContext: import("react").Context;
export type InfinitePaginationContextValue = Pick;
//# sourceMappingURL=InfinitePaginationContext.d.ts.map