export type McpServerEntry = { command: string; args: string[]; env?: Record; }; /** * Merges or replaces `mcpServers[serverName]` and returns formatted JSON. * Preserves other top-level keys and other MCP server entries. */ export declare function mergeMcpServerEntry(existingJson: string | null, serverName: string, serverConfig: McpServerEntry): string;