import type { ClaudeMcpServerEntry } from "../agy/mcp-installer.js";
/** Result of one project MCP reconciliation. */
export interface CodexMcpInstallResult {
    readonly managedFiles: readonly string[];
    readonly serverCount: number;
}
/**
 * Reconcile the marked Lisa MCP block while preserving host TOML verbatim.
 * Host-authored servers win on a name collision.
 * @param existingToml Existing project Codex configuration.
 * @param lisaServers Selected Lisa MCP servers.
 * @returns Merged TOML with one trailing newline.
 */
export declare function mergeCodexMcpServers(existingToml: string, lisaServers: Readonly<Record<string, ClaudeMcpServerEntry>>): string;
/**
 * Install selected Lisa MCP servers into `<project>/.codex/config.toml`.
 * @param destDir Host project root.
 * @param lisaServers Selected Lisa MCP servers.
 * @returns Managed file and server counts.
 */
export declare function installCodexMcpConfig(destDir: string, lisaServers: Readonly<Record<string, ClaudeMcpServerEntry>>): Promise<CodexMcpInstallResult>;
//# sourceMappingURL=mcp-installer.d.ts.map