/** * [WHO]: getPlanModeInstructions(), getPlanModeExitInstructions(), getPlanModeReentryInstructions() * [FROM]: Depends on ./plan-file-manager, ./types * [TO]: Consumed by plan extension index.ts (before_agent_start event handler) * [HERE]: extensions/builtin/plan/plan-workflow-prompt.ts - workflow prompt generation for plan mode */ import type { PlanModeConfig, PlanSessionState } from "./types.js"; export declare function getPlanModeInstructions(sessionState: PlanSessionState, planFilePath: string, existingPlan: string | null, reminderType: "full" | "sparse", config?: PlanModeConfig): string; export declare function getPlanModeExitInstructions(planFilePath: string, planExists: boolean, allowedPrompts?: Array<{ tool: string; prompt: string; }>): string; export declare function getPlanModeReentryInstructions(planFilePath: string): string; export declare function getEnterPlanModeToolResult(): string; export declare function getExitPlanModeApprovedResult(plan: string | null, filePath: string, planWasEdited: boolean, hasAgentTool: boolean, allowedPrompts?: Array<{ tool: string; prompt: string; }>): string;