/** @packageDocumentation * @module OrbitGT */ import { ABuffer } from "../buffer/ABuffer"; import { StringMap } from "../collection/StringMap"; /** * Class Downloader defines a platform independant download tool. */ /** @internal */ export declare class Downloader { /** The default instance of this tool for this runtime. This needs to be set by the host application on startup. */ static INSTANCE: Downloader; constructor(); downloadBytes(method: string, requestURL: string, requestHeaders: StringMap, postText: string, postData: ABuffer, responseHeaders: StringMap): Promise; downloadText(method: string, requestURL: string, requestHeaders: StringMap, postText: string, postData: ABuffer, responseHeaders: StringMap): Promise; downloadText2(requestURL: string): Promise; } //# sourceMappingURL=Downloader.d.ts.map