import type { ScorerRunInputForAgent, ScorerRunOutputForAgent } from '@mastra/core/evals'; import type { MastraModelConfig } from '@mastra/core/llm'; import type { ScorerRunInputForLLMJudge, ScorerRunOutputForLLMJudge } from '../../utils.js'; export interface ContextRelevanceOptions { scale?: number; context?: string[]; contextExtractor?: (input: ScorerRunInputForAgent, output: ScorerRunOutputForAgent) => string[]; penalties?: { unusedHighRelevanceContext?: number; missingContextPerItem?: number; maxMissingContextPenalty?: number; }; } export declare function createContextRelevanceScorerLLM({ model, options, }: { model: MastraModelConfig; options: ContextRelevanceOptions; }): import("@mastra/core/evals").MastraScorer & Record<"generateScoreStepResult", number> & Record<"generateReasonStepResult", string>>; //# sourceMappingURL=index.d.ts.map