import type { IDEType, ServerEntry } from '../types/index.js'; import { type DetectedIDE, type ConfigWriteResult } from './config-profiles.js'; interface MCPServerConfig { command: string; args: string[]; env?: Record; } interface MCPConfig { mcpServers: Record; } export declare class ConfigGenerator { private serversDir; constructor(); generateConfig(servers: ServerEntry[]): MCPConfig; private serverToMCPConfig; private npmServerConfig; private uvxServerConfig; private pythonServerConfig; /** * Write MCP config for ALL detected IDEs using data-driven profiles. * Each IDE gets its config written to the correct file and location. * For non-primary IDEs, only existing config files are updated (not created). */ writeConfigForAllIDEs(config: MCPConfig, detectedIDEs: DetectedIDE[], cwd: string, primaryIDE?: string): ConfigWriteResult[]; /** * Write MCP config to a single location, using the profile's jsonRootKey. * Merges with existing config — preserves user's custom MCP servers. */ private writeConfigToLocation; /** * Legacy writeConfig — uses profiles under the hood now. * Kept for backwards compatibility with code that targets a single IDE. */ writeConfig(config: MCPConfig, ide: IDEType, cwd: string): string; } export {}; //# sourceMappingURL=config-generator.d.ts.map