import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions"; import { IMcpService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpTypes.service"; export declare namespace McpContextKeys { const serverCount: RawContextKey; const hasUnknownTools: RawContextKey; /** * A context key that indicates whether there are any servers with errors. * * @type {boolean} * @default undefined * @description This key is used to track the presence of servers with errors in the MCP context. */ const hasServersWithErrors: RawContextKey; const toolsCount: RawContextKey; } export declare class McpContextKeysController extends Disposable implements IWorkbenchContribution { static readonly ID = "workbench.contrib.mcp.contextKey"; constructor(mcpService: IMcpService, contextKeyService: IContextKeyService); }