import type { MastraScorer } from '../../evals/base.js'; import type { ScorerRunInputForAgent, ScorerRunOutputForAgent } from '../../evals/types.js'; import type { Mastra } from '../../mastra/index.js'; import type { MastraCompositeStore } from '../../storage/base.js'; import type { TargetType } from '../../storage/types.js'; import type { ScorerResult } from './types.js'; /** * Resolve scorers from mixed array of instances and string IDs. * String IDs are looked up from Mastra's scorer registry. */ export declare function resolveScorers(mastra: Mastra, scorers?: (MastraScorer | string)[]): MastraScorer[]; /** * Run all scorers for a single item result. * Errors are isolated per scorer - one failing scorer doesn't affect others. */ export declare function runScorersForItem(scorers: MastraScorer[], item: { input: unknown; groundTruth?: unknown; metadata?: Record; }, output: unknown, storage: MastraCompositeStore | null, runId: string, targetType: TargetType, targetId: string, itemId: string, scorerInput?: ScorerRunInputForAgent, scorerOutput?: ScorerRunOutputForAgent, traceId?: string): Promise; //# sourceMappingURL=scorer.d.ts.map