import { VSBuffer } from "../../base/common/buffer.js"; import { URI } from "../../base/common/uri.js"; import { IFileDialogService } from "../../platform/dialogs/common/dialogs.service.js"; import { IFileService } from "../../platform/files/common/files.service.js"; import { ISharedWebContentExtractorService } from "../../platform/webContentExtractor/common/webContentExtractor.service.js"; /** Downloads a resource or in-memory file to the user's local file system. */ export declare function downloadFile(source: URI | VSBuffer | Uint8Array, name: string, fileService: IFileService, fileDialogService: IFileDialogService, webContentExtractorService: ISharedWebContentExtractorService): Promise;