/** * LLM-as-Judge Assertions — Use an LLM to evaluate agent output quality. */ export interface JudgeConfig { criteria: string; model?: string; threshold?: number; } export interface RubricCriterion { criterion: string; weight: number; } export interface JudgeRubricConfig { rubric: RubricCriterion[]; model?: string; threshold?: number; } export interface JudgeResult { passed: boolean; score: number; reasoning: string; model: string; cached: boolean; } export interface RubricResult { passed: boolean; overallScore: number; scores: Array<{ criterion: string; score: number; weight: number; reasoning: string; }>; model: string; cached: boolean; } /** * Simple judge: evaluate output against a single criterion. */ export declare function judgeOutput(output: string, config: JudgeConfig): Promise; /** * Rubric-based judge: evaluate output against multiple weighted criteria. */ export declare function judgeWithRubric(output: string, config: JudgeRubricConfig): Promise; //# sourceMappingURL=judge.d.ts.map