import { BaseLanguageModel } from "../base_language/index.js"; import { CriteriaLike } from "./criteria/index.js"; import type { EvaluatorType } from "./types.js"; import { StructuredTool } from "../tools/index.js"; import { LLMEvalChainInput } from "./base.js"; import { EmbeddingDistanceEvalChainInput } from "./embedding_distance/index.js"; export type LoadEvaluatorOptions = EmbeddingDistanceEvalChainInput & { llm?: BaseLanguageModel; chainOptions?: Partial>; /** * The criteria to use for the evaluator. */ criteria?: CriteriaLike; /** * A list of tools available to the agent, for TrajectoryEvalChain. */ agentTools?: StructuredTool[]; }; /** * Load the requested evaluation chain specified by a string * @param type The type of evaluator to load. * @param options * - llm The language model to use for the evaluator. * - criteria The criteria to use for the evaluator. * - agentTools A list of tools available to the agent,for TrajectoryEvalChain. */ export declare function loadEvaluator(type: T, options?: LoadEvaluatorOptions): Promise;