/** * questions/application/question.presets — mode presets for QuestionerAgent. * * Each preset provides a system prompt and a buildPrompt function that assembles * the user message from a typed context object. * * IND-547: canonical home — previously questioner/questioner.presets.ts. * Legacy path is a thin compatibility shim pointing here. */ import type { QuestionMode, QuestionPurpose } from "../domain/question.schema.js"; export interface QuestionerPreset { /** The LLM system prompt for this mode. */ systemPrompt: string; /** Builds the user-message string from the mode-specific context. */ buildPrompt: (context: unknown) => string; } /** * Retrieve the preset for the given mode. * @param mode - The question mode to look up. * @param purpose - Optional purpose discriminant (for intent-recovery variant). * @returns The matching preset with systemPrompt and buildPrompt. * @throws Error if the mode's preset is not yet implemented. */ export declare function getPreset(mode: QuestionMode, purpose?: QuestionPurpose): QuestionerPreset;