declare global { interface HttpRequest { url: string; method?: "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH"; headers?: Record; } interface HttpResponse { body: string; status: number; } var Http: { request(req: HttpRequest, body?: string | ArrayBufferLike): HttpResponse; }; } export {};