import { Composed } from "throwback"; import { CommonRequest, CommonResponse } from "servie/dist/common"; /** * Create a `fetch` like interface from middleware stack. */ export declare function toFetch(middleware: Composed, Request: new (...args: A) => T): (...args: A) => Promise;