/** * Claude Desktop Config Auto-Importer * * Automatically imports MCP configurations from Claude Desktop into NCP's profile system. * Detects and imports BOTH: * 1. Traditional MCPs from claude_desktop_config.json * 2. .dxt-installed extensions from Claude Extensions directory */ /** * Detect if we're running as .dxt bundle (always Claude Desktop) */ export declare function isRunningAsDXT(): boolean; /** * Detect if we should attempt Claude Desktop auto-sync * Returns true if: * 1. Running as .dxt bundle (always Claude Desktop), OR * 2. Claude Desktop directory exists (best-effort detection) */ export declare function shouldAttemptClaudeDesktopSync(): boolean; /** * Get Claude Desktop directory path for the current platform */ export declare function getClaudeDesktopDir(): string; /** * Get Claude Desktop config file path */ export declare function getClaudeDesktopConfigPath(): string; /** * Get Claude Extensions directory path */ export declare function getClaudeExtensionsDir(): string; /** * Check if Claude Desktop config exists */ export declare function hasClaudeDesktopConfig(): boolean; /** * Read Claude Desktop config file */ export declare function readClaudeDesktopConfig(): Promise; /** * Extract MCP servers from Claude Desktop config */ export declare function extractMCPServers(claudeConfig: any): Record; /** * Read .dxt extensions from Claude Extensions directory */ export declare function readDXTExtensions(): Promise>; /** * Import MCPs from Claude Desktop (both JSON config and .dxt extensions) * Returns the combined profile object ready to be saved */ export declare function importFromClaudeDesktop(): Promise<{ mcpServers: Record; imported: boolean; count: number; sources: { json: number; mcpb: number; }; } | null>; /** * Check if we should auto-import (first run detection) * Returns true if: * 1. NCP profile doesn't exist OR is empty * 2. Claude Desktop has MCPs (in JSON config OR .dxt extensions) */ export declare function shouldAutoImport(ncpProfilePath: string): Promise; /** * Merge imported MCPs with existing profile * Existing MCPs take precedence (no overwrite) */ export declare function mergeConfigs(existing: Record, imported: Record): { merged: Record; added: string[]; skipped: string[]; }; //# sourceMappingURL=claude-desktop-importer.d.ts.map