import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { AgentGoal, GoalEvaluation, GoalEvaluator, GoalProgress } from "./domain.js"; /** * Raised when the evaluator could not obtain a verdict because of the provider or transport, * as opposed to a verdict that was returned but could not be parsed. */ export declare class GoalEvaluatorUnavailableError extends Error { readonly name = "GoalEvaluatorUnavailableError"; } export declare function parseGoalEvaluation(text: string): GoalEvaluation; export declare class PiGoalEvaluator implements GoalEvaluator { private readonly getContext; constructor(getContext: () => ExtensionContext | undefined); evaluate(goal: AgentGoal, progress: GoalProgress): Promise; }