import type { ExecutionStep } from "../execution/execution_types.js"; import type { ExecutionStepExecutor } from "./execution_runner.js"; /** AI 产出 patch 提供者(由 AI 宿主/测试注入)。返回 {content} 写入 step.target_file,null=无 patch。 */ export interface PatchProvider { getPatch(step: ExecutionStep): { content: string; } | null; } /** * 创建 AI Host Executor。 * patchProvider 注入 patch 来源(测试模拟 / 生产 AI 宿主)。executor 应用 patch,不生成。 */ export declare function createAiHostExecutor(projectRoot: string, patchProvider: PatchProvider): ExecutionStepExecutor;