interface ConnectorModelProvider { id: string; label: string; baseUrl?: string; apiKey?: string; openAIBaseUrl?: string; openAIApiKey?: string; anthropicBaseUrl?: string; anthropicApiKey?: string; model: string; } type ConnectorRuntimeKind = 'openclaw' | 'cli'; type ConnectorRuntimeId = 'openclaw' | 'hermes' | 'claude-code' | 'codex' | 'opencode' | 'cursor' | 'kimi' | 'copilot' | 'antigravity'; type ConnectorRuntimePlatform = NodeJS.Platform | 'default'; interface ConnectorRuntimeInstallSpec { commands?: Partial>; helpUrl: string; } interface ConnectorRuntimeCatalogEntry { id: ConnectorRuntimeId; label: string; kind: ConnectorRuntimeKind; command: string; commands?: string[]; versionArgs?: string[]; iconId: string; install: ConnectorRuntimeInstallSpec; } declare const CONNECTOR_RUNTIME_CATALOG: ConnectorRuntimeCatalogEntry[]; declare function connectorRuntimeCatalog(): ConnectorRuntimeCatalogEntry[]; declare function connectorRuntimeById(runtimeId: string | null | undefined): ConnectorRuntimeCatalogEntry | null; declare function connectorRuntimeInstallCommands(runtimeId: string, targetPlatform?: ConnectorRuntimePlatform): string[]; declare function connectorRuntimeInstallCommand(runtimeId: string, targetPlatform?: ConnectorRuntimePlatform): string | null; type ShadowConnectorTarget = 'openclaw' | 'hermes' | 'cc-connect'; interface ShadowConnectorInput { target: ShadowConnectorTarget; serverUrl: string; token: string; hermesHome?: string; workDir?: string; projectName?: string; agentType?: 'codex' | 'claudecode' | 'opencode' | 'cursor' | string; modelProvider?: ConnectorModelProvider; } interface ConnectorCommand { label: string; command: string; } interface ConnectorConfigBlock { label: string; language: 'bash' | 'json' | 'toml' | 'yaml' | 'text'; content: string; } interface ConnectorPlan { target: ShadowConnectorTarget; title: string; summary: string; connectCommand: string; quickCommand: string; commands: ConnectorCommand[]; configBlocks: ConnectorConfigBlock[]; aiPrompt: string; docsUrl: string; capabilities: string[]; } declare function createConnectorPlan(input: ShadowConnectorInput): ConnectorPlan; declare function createConnectorPlans(input: Omit): ConnectorPlan[]; export { CONNECTOR_RUNTIME_CATALOG, type ConnectorCommand, type ConnectorConfigBlock, type ConnectorPlan, type ConnectorRuntimeCatalogEntry, type ConnectorRuntimeId, type ConnectorRuntimeInstallSpec, type ConnectorRuntimeKind, type ConnectorRuntimePlatform, type ShadowConnectorInput, type ConnectorModelProvider as ShadowConnectorModelProvider, type ShadowConnectorTarget, connectorRuntimeById, connectorRuntimeCatalog, connectorRuntimeInstallCommand, connectorRuntimeInstallCommands, createConnectorPlan, createConnectorPlans };