import type { Agent } from "http"; export type SupportedRequestInfo = string; export type SupportedRequestInit = { agent?: Agent; body?: string | FormData; headers?: Record; method?: string; }; export type SupportedResponseBody = { getReader: () => { cancel?: () => Promise; read: () => Promise<{ done: boolean; value?: Uint8Array; }>; releaseLock: () => void; }; }; export type SupportedResponse = { body?: SupportedResponseBody | null; ok: boolean; text: () => Promise; headers: unknown; status: number; }; export type SupportedFetch = (url: SupportedRequestInfo, init?: SupportedRequestInit) => Promise; //# sourceMappingURL=fetch-types.d.ts.map