import { DoomMcpAgentPluginProjectionSource } from "@agimon-ai/doompi-core/mcpProjection"; //#region src/services/agentPluginMcp/index.d.ts type JsonObject = Record; interface AgentPluginMcpConfigSource { path: string; format: 'internal'; cacheKey: string; } interface NormalizedAgentPluginMcpSource { /** Owner-only, content-addressed layer that bypasses Claude env interpolation. */ configSource?: AgentPluginMcpConfigSource; /** Claude-compatible definitions for an external merged config. */ claudeConfig: { mcpServers: Record; }; serverNames: string[]; droppedServers: string[]; diagnostics: string[]; } interface NormalizeAgentPluginMcpOptions { stagingDirectory: string; /** Empty and absent lists both mean keep every server. */ allowedServers?: readonly string[]; /** Doom strips nested wrappers; external-only callers may opt out. */ stripProxyWrappers?: boolean; } /** * Validates one Agent Plugins v1 `mcp.json` and stages a native mcp-proxy layer. * * Server validation is isolated: one malformed server is diagnosed and skipped. * Document/schema, source identity, or plugin-boundary failures reject the whole * source. Only the two portable plugin placeholders are expanded; the staged * layer is tagged `internal`, so legacy `${ENV}` interpolation cannot run again. */ export declare function normalizeAgentPluginMcpSource(source: DoomMcpAgentPluginProjectionSource, options: NormalizeAgentPluginMcpOptions): NormalizedAgentPluginMcpSource; //#endregion export type { AgentPluginMcpConfigSource, NormalizeAgentPluginMcpOptions, NormalizedAgentPluginMcpSource }; //# sourceMappingURL=agentPluginMcp.d.mts.map