/** * Client Detection * Auto-detect which MCP clients are installed on the system */ import { MCPClientAdapter, InstallInfo } from './base.js'; import { MCPClient } from '../utils/paths.js'; export interface DetectedClient { adapter: MCPClientAdapter; info: InstallInfo; } export interface DetectionResult { installed: DetectedClient[]; notInstalled: MCPClientAdapter[]; total: number; installedCount: number; } /** * Get all available adapters */ export declare function getAllAdapters(): MCPClientAdapter[]; /** * Get adapter by client name */ export declare function getAdapter(client: MCPClient): MCPClientAdapter; /** * Detect all installed MCP clients */ export declare function detectInstalledClients(): Promise; /** * Detect clients that already have APIClaw configured */ export declare function detectConfiguredClients(): Promise<{ configured: DetectedClient[]; notConfigured: DetectedClient[]; }>; /** * Quick check: is any MCP client installed? */ export declare function hasAnyClient(): Promise; /** * Quick check: is a specific client installed? */ export declare function isClientInstalled(client: MCPClient): Promise; /** * Get installation summary as string (for CLI output) */ export declare function formatDetectionResult(result: DetectionResult): string; /** * Get simple list of installed client names */ export declare function getInstalledClientNames(): Promise; /** * Configure all detected clients */ export declare function configureAllDetected(options?: { workspaceId?: string; serverName?: string; force?: boolean; }): Promise<{ success: { adapter: MCPClientAdapter; result: Awaited>; }[]; failed: { adapter: MCPClientAdapter; result: Awaited>; }[]; }>; //# sourceMappingURL=detect.d.ts.map