/// declare class FetchWrapper { getJSON(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; getText(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; getTextConverted(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; getBuffer(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; getArrayBuffer(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; getBlob(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; download(url: string, filePath: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise; uploadFile(url: string, filePath: string, method: 'POST' | 'PUT' | 'PATCH', options?: any): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; put(url: string, options?: any, data?: ArrayBuffer | ArrayBufferView | NodeJS.ReadableStream | string | URLSearchParams | FormData, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; post(url: string, options?: any, data?: ArrayBuffer | ArrayBufferView | NodeJS.ReadableStream | string | URLSearchParams | FormData, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; patch(url: string, options?: any, data?: ArrayBuffer | ArrayBufferView | NodeJS.ReadableStream | string | URLSearchParams | FormData, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; postForm(url: string, formData: FormData, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; delete(url: string, options?: any, proxy?: { proxyProtocol: string; proxyIpAddress: string; proxyPort: number; }): Promise<{ data: any; status: number; statusText: string; headers: Headers; }>; private get; private putOrPostOrPatch; private doFetch; private processRequest; } export declare const fetchWrapper: FetchWrapper; export {};