import { PropsWithChildren, ReactElement } from 'react';

export interface InfiniteContextValue {
    hasMore: boolean;
    onFetchMore: () => void;
}
export interface InfiniteUtilContextValue {
    setHasMore: (hasMore: boolean) => void;
    setOnFetchMore: (onFetchMore: () => void) => void;
}
export declare const useInfiniteContext: () => InfiniteContextValue;
export declare const useInfiniteUtilContext: () => InfiniteUtilContextValue;
export interface InfiniteProviderProps extends PropsWithChildren<{}> {
}
export declare const InfiniteProvider: ({ children }: InfiniteProviderProps) => ReactElement;
//# sourceMappingURL=Infinite.d.ts.map