import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service"; import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service"; import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service"; import { IQuickInputService } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service"; import { IAgentPluginRepositoryService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service"; import { IInstallPluginFromSourceOptions, IInstallPluginFromSourceResult, IUpdateAllPluginsOptions, IUpdateAllPluginsResult } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginInstallService"; import { IPluginInstallService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service"; import { IMarketplacePlugin } from "../common/plugins/pluginMarketplaceService.js"; import { IPluginMarketplaceService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service"; export declare class PluginInstallService implements IPluginInstallService { private readonly _pluginRepositoryService; private readonly _pluginMarketplaceService; private readonly _fileService; private readonly _notificationService; private readonly _dialogService; private readonly _logService; private readonly _progressService; private readonly _commandService; private readonly _quickInputService; private readonly _configurationService; readonly _serviceBrand: undefined; constructor(_pluginRepositoryService: IAgentPluginRepositoryService, _pluginMarketplaceService: IPluginMarketplaceService, _fileService: IFileService, _notificationService: INotificationService, _dialogService: IDialogService, _logService: ILogService, _progressService: IProgressService, _commandService: ICommandService, _quickInputService: IQuickInputService, _configurationService: IConfigurationService); installPlugin(plugin: IMarketplacePlugin): Promise; installPluginFromSource(source: string, options?: IInstallPluginFromSourceOptions): Promise; validatePluginSource(source: string): string | undefined; installPluginFromValidatedSource(source: string, options?: IInstallPluginFromSourceOptions): Promise; private _doInstallFromSource; private _addMarketplaceToConfig; updatePlugin(plugin: IMarketplacePlugin, silent?: boolean): Promise; updateAllPlugins(options: IUpdateAllPluginsOptions, token: CancellationToken): Promise; getPluginInstallUri(plugin: IMarketplacePlugin): URI; private _ensureMarketplaceTrusted; private _installRelativePathPlugin; private _installGitPlugin; private _installPackagePlugin; }