/** * Map raw source MCP server entries onto GJC `MCPServerConfig`. * * Implements the source-schema compatibility matrix from the consensus plan: * preserved (P), transformed (T), omitted-with-warning (OW), skipped (S, * `skipped_unmappable`), and failed (F, `failed_invalid_source`). Secret-indirection * fields are always omitted-with-warning; their values are never read or emitted. */ import type { MCPServerConfig } from "../runtime-mcp/types"; import type { MigrateSource } from "./types"; export type McpMapOutcome = { ok: true; config: MCPServerConfig; warnings: string[]; } | { ok: false; status: "skipped_unmappable" | "failed_invalid_source"; reason: string; }; export declare function mapMcpEntry(source: MigrateSource, name: string, raw: unknown): McpMapOutcome;