export declare const CODEX_MANAGED_MCP_BEGIN = "# BEGIN agents-sync managed MCP"; export declare const CODEX_MANAGED_MCP_END = "# END agents-sync managed MCP"; /** * Merge generated MCP tables into a Codex project config without rewriting * project-owned settings. Agent Sync owns only the text between its markers. */ export declare function mergeCodexConfig(existingContent: string, generatedContent: string): string; /** Remove this project's managed MCP block while preserving surrounding TOML. */ export declare function removeCodexManagedBlock(existingContent: string): string; /** Return whether content contains the legacy fully-generated Codex header. */ export declare function isLegacyGeneratedCodexConfig(content: string): boolean; /** Remove MCP tables from the legacy fully-generated Codex file while preserving other TOML sections. */ export declare function removeLegacyGeneratedCodexMcp(content: string): string;