export interface HttpResponse { status: number; reason: string; body: Uint8Array; url: string; } export declare function isHttpError(resp: HttpResponse): boolean; export declare function setHttpProxyBase(base: string | null): void; export interface HttpRequestOptions { method?: string; headers?: Record; body?: Uint8Array; timeoutMs?: number; followRedirects?: boolean; } export declare function httpRequest(url: string, options?: HttpRequestOptions): Promise; export declare function httpFormRequest(url: string, opts?: { method?: string; formData?: Record; headers?: Record; timeoutMs?: number; followRedirects?: boolean; }): Promise; export declare function httpGet(url: string, opts?: { headers?: Record; timeoutMs?: number; }): Promise; //# sourceMappingURL=http.d.ts.map