import type { Cli } from "../internals/clis.js"; import type { Action, PlanContext } from "../internals/plan.js"; import { type McpServer } from "../mcp/servers.js"; import { type OrgPolicy } from "../org-policy/schema.js"; import type { EccComponentSelection, EccMcpComponentId } from "./components.js"; import type { ProjectRegistration } from "./registration.js"; /** * Apply legacy MCP policy only when the headless governance inventory is absent. * Under governance, AIH policy project is the exclusive MCP projector; ECC still * owns its agents, skills, commands, and profile selection, but never registers * an MCP component as a side effect of `--with` or a profile. */ export declare function orgAllowedEccMcpComponents(components: readonly EccMcpComponentId[], policy: OrgPolicy | undefined): EccMcpComponentId[]; export declare function selectedEccMcpServers(components: readonly EccMcpComponentId[]): Record; export declare function scopedEccMcpJsonActions(ctx: PlanContext, clis: readonly Cli[], selection: EccComponentSelection, project: ProjectRegistration | undefined): Action[];