import type { WorkflowNode, WorkflowExecutionContext, NodeExecutionResult, WorkflowEvent } from './types.js'; /** * 执行单个节点 */ export declare function executeNode(node: WorkflowNode, ctx: WorkflowExecutionContext, emit: (event: WorkflowEvent) => void): AsyncGenerator; /** * P2: 从工具执行结果中提取产物信息 * 工具结果中可能包含产物 URL(如 /api/artifact/xxx)或 JSON 格式的产物信息 */ export declare function extractArtifacts(toolName: string, result: string): Array<{ name: string; type: string; url: string; size?: number; tool?: string; }>; //# sourceMappingURL=node-executor.d.ts.map