import { ScoreFn, BaseScorerOptions } from '../shared.mjs'; import { BaseMatcherConfig, MatchStrategy, FuzzyMatchOptions } from '../../internal/matchers.mjs'; /** Options passed to the legacy tool-call scorer. */ interface ToolCallScorerOptions extends BaseScorerOptions { expectedTools?: Array<{ name: string; arguments?: unknown; }>; } /** Configuration for the legacy tool-call scorer factory. */ interface ToolCallScorerConfig extends BaseMatcherConfig { ordered?: boolean; params?: MatchStrategy; fuzzyOptions?: FuzzyMatchOptions; } /** * Temporary scorer-first compatibility wrapper. * * Keep new harness-first code on the non-legacy scorer implementation so this * wrapper can be deleted without preserving legacy-specific seams. */ declare function ToolCallScorer(config?: ToolCallScorerConfig): ScoreFn; export { ToolCallScorer, type ToolCallScorerConfig, type ToolCallScorerOptions };