type Fetch = typeof fetch; export type AdapterReqOptions = { url: string; method?: string; headers?: Record; body?: unknown; data?: unknown; signal?: AbortSignal; timeout?: number; shouldThrowOnError?: boolean; }; export type AdapterReqInstance = { fetch: (options: AdapterReqOptions) => Promise; }; export type AdapterReqClass = new (config?: Record) => AdapterReqInstance; /** * Wrap CloudBase `adapter.reqClass` (WxRequest / WebRequest / NodeRequest) as * a standard `fetch(url, init)`. Do not import platform adapters here — the * host passes the class after `useAdapters`. * * `httpSend()` already sets `apikey` / `Authorization`; this talks to the raw * adapter so CloudBase request hooks do not inject a second auth header. */ export declare function wrapReqClassFetch(ReqClass: AdapterReqClass, config?: Record): Fetch; export {}; //# sourceMappingURL=req-class-fetch.d.ts.map