/** * MCP Config File Writer * * Reads existing config, merges the Frase MCP server entry, * and writes back with a backup of the original. */ import type { DetectedTool } from "./detect-tool.js"; /** The MCP server config entry we write */ interface McpServerEntry { command: string; args: string[]; env: Record; } /** * Build the Frase MCP server entry for a config file */ export declare function buildFraseEntry(apiKey: string, apiUrl?: string): McpServerEntry; /** * Check if a Frase entry already exists in the config */ export declare function hasFraseEntry(tool: DetectedTool): boolean; /** * Write the Frase MCP server config for a tool. * Creates directories and backups as needed. * Returns the path that was written. * Throws with a user-friendly message on permission errors. */ export declare function writeFraseConfig(tool: DetectedTool, apiKey: string, apiUrl?: string): string; export {}; //# sourceMappingURL=config-writer.d.ts.map