/** * Declarative prompt templates for the AXIS scoring pipeline. * * Each template uses `{{variable}}` placeholders that are substituted at * runtime via `interpolate()`. The raw templates (with placeholders intact) * are exposed via `getPromptTemplates()` so documentation UIs can display * the exact prompts used during scoring. */ /** Describes a single placeholder variable within a prompt template. */ export interface PromptVariable { /** The placeholder name as it appears in `{{name}}`. */ name: string; /** Human-readable description of what this variable contains. */ description: string; /** Type hint for documentation purposes — not enforced at runtime. */ type: "string" | "number" | "text"; /** Whether the variable may legitimately resolve to an empty string. */ optional?: boolean; } /** A self-describing prompt template for one stage of the scoring pipeline. */ export interface PromptTemplate { /** Unique identifier (also the record key returned by `getPromptTemplates`). */ name: string; /** Human-readable description of what the prompt does. */ description: string; /** Which scoring pipeline stage uses this prompt. */ stage: "deep_eval" | "goal_achievement"; /** The template string with `{{variable}}` placeholders. */ template: string; /** Metadata about each placeholder the template accepts. */ variables: PromptVariable[]; } /** * Replace `{{key}}` placeholders in `template` with values from `vars`. * * Throws if any placeholder in the template has no corresponding key in * `vars`. Numbers are coerced to strings via `String()`. */ export declare function interpolate(template: string, vars: Record): string; /** * Per-category evaluation guidance for focused judge prompts. * * Environment and service focus on EXECUTION QUALITY — did the tools/services * work correctly? The agent dimension evaluates DECISION QUALITY — did the * agent make good choices about what to invoke and how? */ export declare const CATEGORY_GUIDANCE: Record; /** * Return all scoring prompt templates keyed by name. * * The templates contain `{{variable}}` placeholders — use `interpolate()` * to substitute runtime values, or display the raw template text in * documentation UIs. */ export declare function getPromptTemplates(): Record; //# sourceMappingURL=prompt-templates.d.ts.map