type FetchFunctionType = (filter: object | Array, options?: object) => void; declare const useFetchBatched: () => { isLoading: boolean; fetchBatched: (fetchFunction: FetchFunctionType, total: number, filter: object, batchSize?: number) => Promise; fetchBatchedInline: (fetchFunction: FetchFunctionType, list: Array, batchSize?: number) => Promise; }; export default useFetchBatched;