/**
 * Load MCP server config from the global agent directory.
 *
 * MCPs are user-level integrations for ShortcutXL spreadsheet sessions, not
 * project-local coding config.
 */
import { type McpConfig, type McpServerConfig } from './types.js';
export declare function getMcpConfigPath(globalConfigDir: string): string;
export declare function readMcpConfigFile(path: string): McpConfig;
export declare function writeMcpConfigFile(path: string, config: McpConfig): void;
export declare function upsertMcpServerConfig(path: string, name: string, config: McpServerConfig, options?: {
    force?: boolean;
}): void;
export declare function removeMcpServerConfig(path: string, name: string): boolean;
export declare function validateServerConfig(name: string, cfg: unknown): cfg is McpServerConfig;
export declare function normalizeServerConfig(name: string, cfg: McpServerConfig): McpServerConfig;
interface LoadConfigOptions {
    cwd: string;
    globalConfigDir: string;
}
/**
 * Load MCP server configs from the global agent path only.
 */
export declare function loadMcpConfig(options: LoadConfigOptions): Record<string, McpServerConfig>;
export {};
//# sourceMappingURL=config.d.ts.map