UNPKG

510 BTypeScriptView Raw
1import { middleware as nodeMiddleware, fetch as nodeFetch, HttpResponse } from "./node";
2import { middleware as browserMiddleware, fetch as browserFetch, XhrResponse } from "./browser";
3export * from "./common";
4export * from "servie/dist/signal";
5export * from "servie/dist/headers";
6export declare const fetch: (...args: Parameters<typeof nodeFetch> & Parameters<typeof browserFetch>) => Promise<XhrResponse | HttpResponse>;
7export declare const middleware: typeof nodeMiddleware | typeof browserMiddleware;