/** * ⚡🦀 OverClawck — Runtime Executor * Dispatches jobs to different AI agent runtimes. */ import { Job, OverClawckConfig } from './types'; export interface ExecutionResult { success: boolean; output: string; error: string; exit_code: number; duration_ms: number; } export declare class RuntimeExecutor { private config; constructor(config: OverClawckConfig); /** * Execute a job using its configured runtime. * Returns the execution result. */ execute(job: Job, onStdoutChunk?: (chunk: string) => void): Promise; private executeOpenClaw; private executeClaudeCode; private executeGeminiCLI; private executeCodexCLI; private executeShell; private executeHTTP; private executeGenericCLI; private spawnProcess; private getRuntimeConfig; /** * Build a diagnosis prompt that asks the agent to analyze the failure * and try a different approach. */ buildDiagnosisPrompt(job: Job, lastError: string): string; } //# sourceMappingURL=executor.d.ts.map