/**
 * MCP client detection and config writing for `agentled setup`.
 *
 * Lifted from agentled-mcp-server/src/setup.ts so the CLI orchestrates the
 * full onboarding without depending on the mcp-server's setup flag (which
 * is being deprecated in favor of `agentled setup`).
 *
 * Detects Claude Code, Codex, Claude Desktop, Cursor, Windsurf and writes
 * the AgentLed MCP server entry into the appropriate config location.
 */
export type McpClient = 'claude-code' | 'claude-desktop' | 'codex' | 'cursor' | 'windsurf' | 'unknown';
export type McpClientTarget = Exclude<McpClient, 'unknown'> | 'auto';
export interface McpConfigureResult {
    client: McpClient;
    success: boolean;
    /** Where the config was written (or attempted) */
    configPath: string | null;
    /** Manual instructions to print if auto-config failed */
    fallbackHint?: string;
}
export declare function getClientLabel(client: McpClient): string;
export declare function detectMcpClient(): McpClient;
export declare function manualSnippet(apiKey: string, baseUrl: string): string;
/**
 * Auto-detect the user's MCP client and register the AgentLed MCP server.
 * Returns a result describing what happened, including a fallback hint when
 * the client is unknown or the config write failed.
 */
export declare function configureMcp(apiKey: string, baseUrl: string, target?: McpClientTarget): Promise<McpConfigureResult>;
