import { type ConnectAuthMode } from '../connect-runtime.js'; import { cursorMcpPath, writeCursorMcpConfig } from './cursor-config.js'; import { ompMcpPath, writeOmpMcpConfig } from './omp-config.js'; import { piMcpPath, writePiMcpConfig } from './pi-config.js'; declare function piPostConnectNotes(): string | undefined; declare const CONFIG_FILE_HARNESSES: { cursor: { skillTarget: { readonly skillAgent: "cursor"; readonly displayName: string; }; registeredUrl: () => string | undefined; write: typeof writeCursorMcpConfig; configPath: typeof cursorMcpPath; tryLaunch: typeof launchCursorDeeplink; copy: { verified: string; authFailed: (reason: string) => string; launched: string; reload: string; }; }; omp: { skillTarget: { displayName: string; }; registeredUrl: () => string | undefined; write: typeof writeOmpMcpConfig; configPath: typeof ompMcpPath; tryLaunch: () => false; copy: { verified: string; authFailed: (reason: string) => string; launched: string; reload: string; }; }; pi: { skillTarget: { skillAgent: "pi"; displayName: string; }; registeredUrl: () => string | undefined; write: typeof writePiMcpConfig; configPath: typeof piMcpPath; tryLaunch: () => false; postConnectNote: typeof piPostConnectNotes; copy: { verified: string; authFailed: (reason: string) => string; launched: string; reload: string; }; }; }; /** Writes the harness's MCP config file itself; no `mcp add` exists. */ export declare function connectConfigFileHarness(harness: keyof typeof CONFIG_FILE_HARNESSES, options: { apiKey?: string; mcpUrl: string; attemptId?: string; verbose?: boolean; authTimeoutMs?: number; onPostInstallFailed?: () => void; }): Promise; /** Writes mcp.json directly — no `cursor mcp add` exists. */ export declare function connectCursor(options: { apiKey?: string; mcpUrl: string; attemptId?: string; verbose?: boolean; authTimeoutMs?: number; onPostInstallFailed?: () => void; }): Promise; /** Best-effort: false when no handler/open fails — caller falls back to reload copy. */ declare function launchCursorDeeplink(mcpUrl: string): boolean; export {};