import type { CheckAndFixResult } from '../../types/mcp-config.js';
/**
 * Finds (or creates) the MCP config file for a project.
 * Search order:
 *   1. <projectPath>/.mcp.json
 *   2. ~/.claude/claude.json
 *   3. <projectPath>/.claude.json
 * If none exist, returns the path for .mcp.json (caller writes it).
 */
export declare function findMcpConfigPath(projectPath: string): Promise<string>;
/**
 * Returns true if the config already has a safe `planu` entry pointing to @planu/cli@latest.
 */
export declare function isPlanuDirectlyConfigured(configPath: string): Promise<boolean>;
/**
 * Merges the direct Planu entry into the config file.
 * Does not overwrite unrelated keys.
 */
export declare function injectDirectPlanuEntry(configPath: string, currentVersion: string, latestVersion: string): Promise<void>;
/**
 * Checks if a version gap exists and, if so, injects the direct Planu MCP entry.
 * Returns a structured result for the tool response.
 */
export declare function checkAndFixBundledVersion(projectPath: string, currentVersion: string, latestVersion: string): Promise<CheckAndFixResult>;
//# sourceMappingURL=mcp-config-writer.d.ts.map