/** * Separates conversational/context turns from source-edit requests before the * code-only generator runs, so greetings and background never become code. */ import type { PromptMessages } from "./direct-conversion.ts"; export interface DirectTurnClassificationPromptInput { targetPath: string; instruction: string; markerLine?: number; numberedSource?: string; sessionMemory?: string; surroundingSource?: string; } export type DirectTurnAction = "context" | "edit"; export type DirectTurnPlan = { action: "context"; } | { action: "edit"; mode: "insert" | "replace"; startLine: number; endLine: number; }; /** Build the deliberately code-free semantic classification prompt. */ export declare function buildDirectTurnClassificationPrompt(input: DirectTurnClassificationPromptInput): PromptMessages; /** Strictly parse the tiny classifier protocol; ambiguity never becomes code. */ export declare function parseDirectTurnClassification(raw: string): DirectTurnPlan; //# sourceMappingURL=direct-turn-classification.d.ts.map