/** * Merges the same global MCP sources the agent thread uses, plus * `mcp_server_catalog` from the gateway, into a map suitable for * {@link McpClientManager} so HTTP routes can run `tools/list` discovery. */ import type { McpServerConfig } from './client.js'; import { type ResolvedMcpServerConfig } from './default-servers.js'; import { type GlobalMcpConfig } from './gateway-client.js'; /** * One merged map: default registry, gateway catalog, then custom servers * and Codex plugin MCP servers (later sources win on id collision). */ export declare function buildAggregatedMcpServerMap(config: GlobalMcpConfig): Promise>; export declare function aggregatedMapToMcpManagerConfigs(config: GlobalMcpConfig, map: Record): McpServerConfig[]; export declare function stableMcpConfigSignature(configs: McpServerConfig[]): string; //# sourceMappingURL=aggregate-config.d.ts.map