/** * AI quality evaluator for plan comparisons. * * Invokes a third AI call via {@link AIService} to evaluate both plans * on a 5-point rubric. Plans are presented in randomized order to * prevent position bias. * * @module */ import type { AIService } from '../ai/service.js'; import type { QualitativeEvaluation } from './types.js'; /** * Run the AI quality evaluator on two plans. * * Randomizes plan order to prevent position bias, invokes the AI * evaluator via {@link AIService}, and maps scores back to the * original labels. * * @param task - The original task description * @param withDocsPlan - Plan text from the "with docs" run * @param withoutDocsPlan - Plan text from the "without docs" run * @param aiService - AI service instance for subprocess management * @param model - Model to use for evaluation * @param debug - Whether to enable debug output * @returns Qualitative evaluation result, or null if evaluation fails */ export declare function evaluatePlans(task: string, withDocsPlan: string, withoutDocsPlan: string, aiService: AIService, model?: string, debug?: boolean): Promise; //# sourceMappingURL=evaluator.d.ts.map