import { IConfirmation } from "../../../../platform/dialogs/common/dialogs.js"; import { IFileDialogService } from "../../../../platform/dialogs/common/dialogs.service.js"; import { IDialogService } from "../../../../platform/dialogs/common/dialogs.service.js"; import { IFileService } from "../../../../platform/files/common/files.service.js"; import { INotificationService } from "../../../../platform/notification/common/notification.service.js"; import { IProgressService } from "../../../../platform/progress/common/progress.service.js"; import { IExplorerService } from "./files.service.js"; import { IEditorService } from "../../../services/editor/common/editorService.service.js"; import { ExplorerItem } from "../common/explorerModel.js"; import { URI } from "../../../../base/common/uri.js"; import { IHostService } from "../../../services/host/browser/host.service.js"; import { IWorkspaceContextService } from "../../../../platform/workspace/common/workspace.service.js"; import { IWorkspaceEditingService } from "../../../services/workspaces/common/workspaceEditing.service.js"; import { ILogService } from "../../../../platform/log/common/log.service.js"; import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js"; import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js"; import { IStorageService } from "../../../../platform/storage/common/storage.service.js"; export declare class BrowserFileUpload { private readonly progressService; private readonly dialogService; private readonly explorerService; private readonly editorService; private readonly fileService; private static readonly MAX_PARALLEL_UPLOADS; constructor(progressService: IProgressService, dialogService: IDialogService, explorerService: IExplorerService, editorService: IEditorService, fileService: IFileService); upload(target: ExplorerItem, source: DragEvent | FileList): Promise; private toTransfer; private doUpload; private doUploadEntry; private doUploadFileBuffered; private doUploadFileUnbuffered; } export declare class ExternalFileImport { private readonly fileService; private readonly hostService; private readonly contextService; private readonly configurationService; private readonly dialogService; private readonly workspaceEditingService; private readonly explorerService; private readonly editorService; private readonly progressService; private readonly notificationService; private readonly instantiationService; constructor(fileService: IFileService, hostService: IHostService, contextService: IWorkspaceContextService, configurationService: IConfigurationService, dialogService: IDialogService, workspaceEditingService: IWorkspaceEditingService, explorerService: IExplorerService, editorService: IEditorService, progressService: IProgressService, notificationService: INotificationService, instantiationService: IInstantiationService); import(target: ExplorerItem, source: DragEvent, targetWindow: Window): Promise; private doImport; private importResources; } export declare class FileDownload { private readonly fileService; private readonly explorerService; private readonly progressService; private readonly logService; private readonly fileDialogService; private readonly storageService; private static readonly LAST_USED_DOWNLOAD_PATH_STORAGE_KEY; constructor(fileService: IFileService, explorerService: IExplorerService, progressService: IProgressService, logService: ILogService, fileDialogService: IFileDialogService, storageService: IStorageService); download(source: ExplorerItem[]): Promise; private doDownload; private doDownloadBrowser; private downloadFileBufferedBrowser; private downloadFileUnbufferedBrowser; private downloadFileBrowser; private downloadFolderBrowser; private reportProgress; private doDownloadNative; } export declare function getFileOverwriteConfirm(name: string): IConfirmation; export declare function getMultipleFilesOverwriteConfirm(files: URI[]): IConfirmation;