import { type McpServerConfig } from "./config-schema.ts";
export declare function getGlobalMcpConfigPath(agentDir?: string): string;
export declare function addGlobalMcpServer(name: string, server: McpServerConfig): string;
export declare function setGlobalMcpServerEnabled(name: string, enabled: boolean): boolean;
/** Update only a resolved global/project source, retaining placeholders and unrelated fields. */
export declare function updateMcpServerConfig(path: string, name: string, patch: Readonly<Pick<Partial<McpServerConfig>, "enabled" | "exposure">>): boolean;
//# sourceMappingURL=config-edit.d.ts.map