import type { AgentTrace, AssertionResult } from './types'; /** * A scored assertion with a weight. */ export interface ScoringRule { weight: number; } /** * Scoring configuration for a test. */ export interface ScoringConfig { [assertionKey: string]: ScoringRule; } /** * Result of weighted scoring evaluation. */ export interface ScoringResult { score: number; threshold: number; passed: boolean; details: Array<{ key: string; weight: number; passed: boolean; weighted_score: number; assertions: AssertionResult[]; }>; } /** * Evaluate a trace with weighted scoring. */ export declare function evaluateScoring(trace: AgentTrace, scoring: ScoringConfig, threshold?: number): ScoringResult; /** * Format scoring result for display. */ export declare function formatScoringResult(result: ScoringResult): string; //# sourceMappingURL=scoring.d.ts.map