import { BaseScorerOptions, ScoredResult } from './scoring.mjs'; import { BaseMatcherConfig, MatchStrategy, FuzzyMatchOptions } from './matchers.mjs'; import '@vitest-evals/core'; type ExpectedTool = { /** Expected tool name. */ name: string; /** Expected tool arguments matched according to the configured strategy. */ arguments?: unknown; }; interface ToolCallScorerOptions extends BaseScorerOptions { /** Expected tool calls for the run. */ expectedTools?: ExpectedTool[]; } interface ToolCallScorerConfig extends BaseMatcherConfig { /** Require expected tools to appear in the configured order. */ ordered?: boolean; /** Matching strategy for expected tool arguments. */ params?: MatchStrategy; /** Options used when argument matching is fuzzy. */ fuzzyOptions?: FuzzyMatchOptions; } /** Creates a tool-call scorer used by both harness judges and legacy wrappers. */ declare function ToolCallScorer(config?: ToolCallScorerConfig): (opts: ToolCallScorerOptions) => Promise; export { type ExpectedTool, ToolCallScorer, type ToolCallScorerConfig, type ToolCallScorerOptions };