import type { TaskPlan } from "./task-plan.js"; import type { ToolCall, ToolResult } from "../types.js"; export interface ProgressEvaluation { madeProgress: boolean; goalSatisfied: boolean; shouldContinue: boolean; reason: string; } /** * Deterministic heuristics to evaluate whether a tool call made * progress toward the plan goal. Used to decide whether to continue * the agent loop or nudge the model to summarize. */ export declare function evaluateProgress(plan: TaskPlan | undefined, call: ToolCall, result: ToolResult): ProgressEvaluation;