import "../../config-DDAC7XCF.js"; import "../../providerRegistry-Bt3Lo-0d.js"; import "../../types-BVDXzQjN.js"; import { t as ModelRouter } from "../../router-B00KzxcK.js"; //#region src/services/council/runner.d.ts declare const RUBRIC_KEYS: readonly ["accuracy", "completeness", "clarity", "utility"]; type RubricKey = (typeof RUBRIC_KEYS)[number]; interface CandidateResponse { label: string; model: string; content: string; error?: string; } interface ScoredCriteria { score: number; reason: string; } interface JudgeScore { accuracy: ScoredCriteria; completeness: ScoredCriteria; clarity: ScoredCriteria; utility: ScoredCriteria; total: number; } interface JudgeEvaluation { label: string; scores: JudgeScore; comment?: string; } interface JudgeResult { judgeModel: string; raw: string; evaluations: JudgeEvaluation[]; ranking: string[]; } interface AggregateScore { label: string; model: string; average: number; votes: number; rankingScore: number; } interface CouncilResult { question: string; stage1: CandidateResponse[]; stage2: JudgeResult[]; aggregates: AggregateScore[]; final?: { model: string; content: string; mode: Stage3Mode; }; metadata: { rubric: RubricKey[]; labelMap: Record; models: string[]; judges: string[]; finalModel?: string; }; } interface CouncilRequest { question: string; models: string[]; judgeModels?: string[]; finalModel?: string; temperature?: number; } type Stage3Mode = "direct" | "synthesize"; type CouncilProgressEvent = { type: "stage1-start"; models: string[]; } | { type: "stage1-answer"; response: CandidateResponse; } | { type: "stage1-complete"; responses: CandidateResponse[]; } | { type: "stage2-start"; judges: string[]; } | { type: "stage2-review"; result: JudgeResult; } | { type: "stage2-complete"; results: JudgeResult[]; aggregates: AggregateScore[]; } | { type: "stage3-start"; model: string; mode: Stage3Mode; } | { type: "stage3-complete"; content: string; mode: Stage3Mode; } | { type: "complete"; result: CouncilResult; } | { type: "error"; error: string; }; declare function runCouncil(router: ModelRouter, req: CouncilRequest, onProgress?: (event: CouncilProgressEvent) => void): Promise; //#endregion export { AggregateScore, CandidateResponse, CouncilProgressEvent, CouncilRequest, CouncilResult, JudgeEvaluation, JudgeResult, JudgeScore, RubricKey, ScoredCriteria, Stage3Mode, runCouncil };