/** * [WHO]: shouldAllowToolCall(), plan-mode state transition helpers * [FROM]: Depends on core/runtime/plan-mode-permissions and ./types * [TO]: Consumed by plan extension index.ts and plan tools * [HERE]: extensions/builtin/plan/plan-permissions.ts - interactive adapter over the shared plan policy */ import type { PlanSessionState, ToolCallInput, ToolPermissionResult } from "./types.js"; /** Interactive plan mode always supplies the exact active plan file. */ export declare function shouldAllowToolCall(toolCall: ToolCallInput, planFilePath: string, cwd?: string): ToolPermissionResult; export declare function handlePlanModeTransition(sessionState: PlanSessionState): void; export declare function handlePlanModeExit(sessionState: PlanSessionState): void;