UNPKG

311 BTypeScriptView Raw
1import type { Data, PaginationOptions, Params, Service, PaginationResult } from './types';
2declare const usePagination: <TData extends Data, TParams extends Params>(service: Service<TData, TParams>, options?: PaginationOptions<TData, TParams>) => PaginationResult<TData, TParams>;
3export default usePagination;