import type { AgentSession, McpServerChange } from "@kenkaiiii/gg-engine/internal/core/agent-session.js"; import { type MCPServerConfig } from "@kenkaiiii/gg-engine/internal/core/mcp/index.js"; /** * One server's config as a session in `cwd` would load it at startup: * project scope wins over global, and project servers count only when the * project is trusted (same rule as getAllMcpServers). */ export declare function effectiveMcpServer(name: string, cwd: string, settingsFile: string): Promise; /** * Bring every open window's session in line with the saved config for one * server, so an add/remove takes effect without a restart. Per session id: * what changed there, or null when nothing did. Never throws. */ export declare function syncMcpServerAcross(targets: Iterable<{ id: string; cwd: string; session: AgentSession; }>, name: string, settingsFile: string): Promise>;