/**
 * Hermes / MCP coordinator config helpers
 *
 * Extracted from commands/router.ts (behavior-preserving move). Contains the
 * MCP-server config parse/serialize helpers and the Hermes coordinator base
 * config loading / temp-override stripping / credential-copy helpers.
 *
 * router.ts re-exports every public symbol from here so existing import paths
 * keep working.
 */
import type { MeshCoordinatorConfigFormat } from './mesh-refine-gates.js';
export declare function getMcpServersKey(format: MeshCoordinatorConfigFormat): 'mcpServers' | 'mcp_servers';
export declare function parseMeshCoordinatorMcpConfig(text: string, format: MeshCoordinatorConfigFormat): Record<string, any>;
export declare function serializeMeshCoordinatorMcpConfig(config: Record<string, any>, format: MeshCoordinatorConfigFormat): string;
export declare function loadHermesCoordinatorBaseConfig(targetConfigPath: string): {
    config: Record<string, any>;
    sourceHome: string;
    sourceConfigPath: string;
};
export declare function stripHermesCoordinatorTempModelProviderOverrides(config: Record<string, any>): Record<string, any>;
export declare function copyHermesCoordinatorCredentialFiles(sourceHome: string, targetHome: string): void;
