import type { McpServerEntry } from '../../types/auto-update.js';
export declare const PLANU_MCP_STARTUP_TIMEOUT_SEC = 120;
/**
 * Patches the mcpServers.planu entry in the given config file.
 * Steps:
 *   1. Read existing content (throws if not valid JSON)
 *   2. Create a backup
 *   3. Write patched content
 *   4. If write fails, restore from backup
 *
 * Returns the backup path so callers can report it.
 */
export declare function patchPlanuEntry(configPath: string, newEntry: McpServerEntry): Promise<{
    backupPath: string;
    previousEntry: McpServerEntry | null;
}>;
/**
 * Returns the standard npx @latest entry for Planu.
 */
export declare function buildNpxLatestEntry(): McpServerEntry;
/**
 * Returns an npx entry pinned to a specific version.
 */
export declare function buildPinnedEntry(version: string): McpServerEntry;
//# sourceMappingURL=config-patcher.d.ts.map