import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IPagedModel } from "@codingame/monaco-vscode-api/vscode/vs/base/common/paging"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service"; import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service"; import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service"; import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service"; import { IViewletViewOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewsViewlet"; import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions"; import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service"; import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service"; import { AbstractExtensionsListView } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/browser/extensionsViews"; import { IAgentPluginService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService.service"; import { IPluginInstallService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service"; import { IPluginMarketplaceService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service"; import { IAgentPluginItem } from "./agentPluginEditor/agentPluginItems.js"; interface IAgentPluginsListViewOptions { installedOnly?: boolean; } export declare class AgentPluginsListView extends AbstractExtensionsListView { private readonly listOptions; private readonly agentPluginService; private readonly pluginMarketplaceService; private readonly pluginInstallService; private readonly labelService; private readonly editorService; private readonly actionStore; private readonly queryCts; private list; private listContainer; private currentQuery; private readonly refreshOnPluginsChangedScheduler; private bodyTemplate; constructor(listOptions: IAgentPluginsListViewOptions, options: IViewletViewOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, instantiationService: IInstantiationService, themeService: IThemeService, hoverService: IHoverService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, openerService: IOpenerService, agentPluginService: IAgentPluginService, pluginMarketplaceService: IPluginMarketplaceService, pluginInstallService: IPluginInstallService, labelService: ILabelService, editorService: IEditorService); protected renderBody(container: HTMLElement): void; private onContextMenu; private getContextMenuActions; protected layoutBody(height: number, width: number): void; show(query: string): Promise>; /** * Builds the installed plugin list using only cached marketplace data * (no IO). The cached data is populated by {@link fetchMarketplacePlugins} * and exposed via the {@link IPluginMarketplaceService.lastFetchedPlugins} * observable, which the view's autorun subscribes to for reactivity. */ private queryInstalled; private queryMarketplacePlugins; private updateBody; } export declare class AgentPluginsViewsContribution extends Disposable implements IWorkbenchContribution { static ID: string; constructor(contextKeyService: IContextKeyService, agentPluginService: IAgentPluginService); } export {};