import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent"; import { type GoalEntrySource, type ThreadGoal } from "./types.js"; export interface CommandHost { getGoal(): ThreadGoal | null; setGoal(goal: ThreadGoal, source: GoalEntrySource, ctx: ExtensionCommandContext): void | Promise; clearGoal(source: GoalEntrySource, ctx: ExtensionCommandContext): void | Promise; } export type GoalCommandPi = Pick; export declare function handleGoalCommand(pi: GoalCommandPi, host: CommandHost, args: string, ctx: ExtensionCommandContext): Promise; export declare function registerGoalCommand(pi: GoalCommandPi, host: CommandHost): void; //# sourceMappingURL=commands.d.ts.map