import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { GoalEntrySource, GoalResult, ThreadGoal } from "./types.js"; export interface ToolHost { getGoal(): ThreadGoal | null; setGoal(goal: ThreadGoal, source: GoalEntrySource, ctx: ExtensionContext): void | Promise; updateGoal(status: "complete" | "blocked", source: GoalEntrySource, ctx: ExtensionContext): GoalResult | Promise; } export declare function registerGoalTools(pi: ExtensionAPI, host: ToolHost): void; //# sourceMappingURL=tools.d.ts.map