export interface ClaudeDesktopConfigPayload { mcpServers?: Record; [key: string]: unknown; } /** Resolve Claude Desktop's MCP config path, including the test/user override. */ export declare function getClaudeDesktopConfigPath(): string | undefined; /** Explain why Claude Desktop sync cannot use an implicit platform path. */ export declare function getClaudeDesktopConfigUnavailableDetail(): string; /** Build the stable project-specific prefix used for managed Desktop server names. */ export declare function getClaudeDesktopManagedPrefix(projectRoot: string): string; /** Convert a source MCP server name into the project-scoped Claude Desktop name. */ export declare function toManagedClaudeDesktopName(projectRoot: string, serverName: string): string; /** Return true when a Desktop MCP server name belongs to this project. */ export declare function isManagedClaudeDesktopNameForProject(projectRoot: string, serverName: string): boolean; /** Read Claude Desktop config without creating it. */ export declare function readClaudeDesktopConfig(pathToRead: string): Promise; /** Write Claude Desktop config after normalizing the MCP server container. */ export declare function writeClaudeDesktopConfig(pathToWrite: string, payload: ClaudeDesktopConfigPayload): Promise; /** Ensure the Desktop payload has an object-valued mcpServers container. */ export declare function normalizeClaudeDesktopConfig(payload: ClaudeDesktopConfigPayload): ClaudeDesktopConfigPayload; /** Merge this project's managed Desktop MCP servers while preserving all other entries. */ export declare function mergeClaudeDesktopConfig(args: { projectRoot: string; existing?: ClaudeDesktopConfigPayload; managedServers: Record; }): ClaudeDesktopConfigPayload; /** List managed Claude Desktop server names, optionally scoped to one project. */ export declare function listClaudeDesktopManagedServerNames(payload: ClaudeDesktopConfigPayload, projectRoot?: string): string[]; /** Remove this project's managed Desktop MCP servers while preserving all other entries. */ export declare function cleanupManagedClaudeDesktopConfig(projectRoot: string): Promise<{ changed: boolean; path?: string; warning?: string; }>;