import { IInstallableMcpServer } from "./mcpManagement.js"; import { IMcpServerConfiguration } from "./mcpPlatformTypes.js"; export declare enum McpResourceFormat { Vscode = "vscode", WorkspaceRoot = "workspaceRoot", CopilotGlobal = "copilotGlobal" } export declare const WORKSPACE_ROOT_MCP_CONFIG_FILE = ".mcp.json"; export declare const WORKSPACE_ROOT_MCP_COLLECTION_ID_PREFIX = "workspace-dot-mcp."; /** Validates new root-file installs without silently dropping unsupported configuration. */ export declare function getWorkspaceRootMcpConfigurationError(server: IInstallableMcpServer): string | undefined; /** Reads either root-file shape; malformed entries do not hide neighboring servers. */ export declare function parseWorkspaceRootMcpConfiguration(content: string): { readonly wrapped: boolean; readonly servers: Record; };