import { ScoreFn, BaseScorerOptions } from '../shared.js'; import { BaseMatcherConfig, MatchStrategy, FuzzyMatchOptions } from '../../internal/matchers.js'; /** Options passed to the legacy structured-output scorer. */ interface StructuredOutputScorerOptions extends BaseScorerOptions { expected?: Record; } /** Configuration for the legacy structured-output scorer factory. */ interface StructuredOutputScorerConfig extends BaseMatcherConfig { match?: MatchStrategy; errorField?: string | null; 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 StructuredOutputScorer(config?: StructuredOutputScorerConfig): ScoreFn; export { StructuredOutputScorer, type StructuredOutputScorerConfig, type StructuredOutputScorerOptions };