import { type LLMPromptConfig } from '../../client/llmConfig.schema'; import { type LLMPromptKind, type LLMPromptMessage } from '../../client/promptSnapshot.typedefs'; /** * One prompt as codegen sees it: the live Langfuse record already validated * against the gateway config schema and reduced to exactly what the generated * file needs to declare. */ export interface CodegenPromptRecord { name: string; kind: LLMPromptKind; version: number; labels: string[]; fallbackText: string; fallbackMessages: LLMPromptMessage[]; config: LLMPromptConfig; } export interface RenderSnapshotOptions { onWarn?: (message: string) => void; }