import { type JudgeLLM } from './adapters'; export type TaskRubric = { taskType: string; rubric: string; weightsJson: string | null; modelId: string; dailyBudgetUsd: number; updatedAt: number; }; export type JudgeResult = { ok: true; score: number; rationale: string; cacheHit: boolean; costUsd: number; latencyMs: number; } | { ok: false; error: string; }; export declare function upsertRubric(input: { taskType: string; rubric: string; weights?: Record | null; modelId?: string; dailyBudgetUsd?: number; }): TaskRubric; export declare function getRubric(taskType: string): TaskRubric | null; export type ScoreOutputInput = { taskType: string; input: string; output: string; variantId?: string | null; judgeLLM?: JudgeLLM; }; export declare function scoreOutput(params: ScoreOutputInput): Promise; export type JudgedEntryResult = { ok: true; score: number; totalCost: number; cacheHit: boolean; } | { ok: false; error: string; }; export declare function recordJudgedEntry(params: { tournamentId: string; variantId: string; input: string; output: string; performanceEventId?: string | null; latencyMs?: number | null; outcome?: string | null; costOverride?: number | null; judgeLLM?: JudgeLLM; }): Promise;