mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
16 lines
744 B
Plaintext
16 lines
744 B
Plaintext
import { bb as QueryBehavior, a8 as InfiniteData, ae as InfiniteQueryPageParamsOptions } from './hydration-uphG6M-i.cjs';
|
|
import './removable.cjs';
|
|
import './subscribable.cjs';
|
|
|
|
declare function infiniteQueryBehavior<TQueryFnData, TError, TData, TPageParam>(pages?: number): QueryBehavior<TQueryFnData, TError, InfiniteData<TData, TPageParam>>;
|
|
/**
|
|
* Checks if there is a next page.
|
|
*/
|
|
declare function hasNextPage(options: InfiniteQueryPageParamsOptions<any, any>, data?: InfiniteData<unknown>): boolean;
|
|
/**
|
|
* Checks if there is a previous page.
|
|
*/
|
|
declare function hasPreviousPage(options: InfiniteQueryPageParamsOptions<any, any>, data?: InfiniteData<unknown>): boolean;
|
|
|
|
export { hasNextPage, hasPreviousPage, infiniteQueryBehavior };
|