import { type Action, type PlanContext } from "../internals/plan.js"; export type CodexMcpTransport = "stdio" | "http" | "mixed" | "unknown"; type CodexMcpScope = "project" | "global" | "planned ECC"; export interface CodexMcpCollision { name: string; existingScope: CodexMcpScope; existingTransport: CodexMcpTransport; conflictingScope: CodexMcpScope; conflictingTransport: CodexMcpTransport; } export declare const CODEX_AGENTS_BLOCK_MARKER = "ecc-codex:agents"; export declare const CODEX_INSTALL_STATE_FILE = "ecc-aih-install-state.json"; export interface CodexTomlFootprint { rootKeys: string[]; tables: string[]; tableKeys: Record; mcpServers: string[]; } export declare function codexHomeDir(ctx: PlanContext): string; export declare function codexInstallStatePath(ctx: PlanContext): string; export declare function codexInstallStateContents(ctx: PlanContext, plannedMcpServers?: readonly string[], suppressRuntimeConfig?: boolean): string; export declare function stripCodexTomlFootprint(raw: string, footprint: CodexTomlFootprint): string; export declare function codexMcpTransportCollisions(ctx: PlanContext, scopedPlannedTransports?: ReadonlyMap): CodexMcpCollision[]; export declare function codexMcpCollisionActions(ctx: PlanContext, scopedPlannedTransports?: ReadonlyMap): Action[]; export declare function codexAgentsBlockRemovalAction(ctx: PlanContext): Action | undefined; export declare function codexConfigRemovalAction(ctx: PlanContext): Action | undefined; export declare function codexInstallStateCleanupAction(ctx: PlanContext): Action | undefined; export {};