import type { SessionPlan } from "../../store/plan.js"; import type { ToolCall } from "../../types.js"; import type { LoopGuard } from "../loop-guard.js"; import type { SessionPolicy } from "../session-policy.js"; import { looksLikeRunOnlyGoal, normalizePlanTaskEntries, resolvePlanTaskId, slugifyTaskId, titlesMatchForPlan } from "./normalization.js"; export { looksLikeRunOnlyGoal, normalizePlanTaskEntries, resolvePlanTaskId, slugifyTaskId, titlesMatchForPlan }; export type { NormalizedPlanTask } from "./normalization.js"; export declare function normalizeCodingPlanTasks(_kind: string, _goal: string, _detail: string, tasks: string[]): string[]; export declare function renderPlanForTerminal(plan: SessionPlan): string; export interface PlanToolResult { handled: boolean; ok: boolean; plan?: SessionPlan | undefined; cleared?: boolean | undefined; display: string; modelNote: string; reminder?: boolean | undefined; toast?: string | undefined; } export declare function handlePlanTool(call: ToolCall, session: SessionPolicy, ctx: { loopGuard: LoopGuard; step: number; autoApprove?: boolean; }): Promise;