export interface IMongoDBDownloadOptions { platform: string; arch: string; version: string; downloadDir: string; http: any; } export interface IMongoDBDownloadProgress { current: number; length: number; total: number; lastStdout: string; } export declare class MongoDBDownload { options: IMongoDBDownloadOptions; mongoDBPlatform: MongoDBPlatform; downloadProgress: IMongoDBDownloadProgress; debug: any; constructor({ platform, arch, downloadDir, version, http }: { platform?: any; arch?: any; downloadDir?: any; version?: string; http?: {}; }); getPlatform(): string; getArch(): string; getVersion(): string; getDownloadDir(): string; getDownloadLocation(): Promise; getExtractLocation(): Promise; getTempDownloadLocation(): Promise; downloadAndExtract(): Promise; extract(): Promise; download(): Promise; isDownloadPresent(): Promise; isExtractPresent(): Promise; getMD5HashFileLocation(): Promise; cacheMD5Hash(signature: string): Promise; getMD5Hash(): Promise; getMD5HashOnline(): Promise; getMD5HashOffline(): Promise; httpDownload(httpOptions: any, downloadLocation: string, tempDownloadLocation: string): Promise; getCrReturn(): string; locationExists(location: string): boolean; printDownloadProgress(chunk: any): void; getHttpOptions(): Promise; getDownloadURI(): Promise; getDownloadURIMD5(): Promise; createDownloadDir(): Promise; getArchiveName(): Promise; } export declare class MongoDBPlatform { platform: string; arch: string; debug: any; constructor(platform: string, arch: string); getPlatform(): string; getArch(): string; getArchiveType(): string; getCommonReleaseString(): string; getOSVersionString(): Promise; getOtherOSVersionString(): Promise; getLinuxOSVersionString(): Promise; getDebianVersionString(os: any): string; getFedoraVersionString(os: any): string; getRhelVersionString(os: any): string; getElementaryOSVersionString(os: any): string; getSuseVersionString(os: any): string; getUbuntuVersionString(os: any): string; translatePlatform(platform: string): string; translateArch(arch: string, mongoPlatform: string): string; }