import { IHttpRequestOptions } from "../interface"; export declare type TXMLHttpRequest = (url: string, options?: IHttpRequestOptions) => Promise<{ ok: boolean; json: () => Promise<{ [x: string]: any; }>; text: () => Promise; /** * @deprecated */ blob: () => Promise; /** * @deprecated */ arrayBuffer: () => Promise<[any]>; }>; export declare type TFetchHttpRequest = (input: URL | RequestInfo, init?: RequestInit) => Promise; //# sourceMappingURL=index.d.ts.map