import { APIResponse, Fetcher, FetchFunction } from '../core'; export type Middleware = { process: (args: Fetcher.Args, next: FetchFunction) => Promise>; }; export declare const createFetcherWithMiddlewares: (fetcher: FetchFunction, initialMiddlewares: Middleware[]) => FetchFunction; //# sourceMappingURL=middleware.d.ts.map