/**
 * @file Implements the Auto-Evaluation Middleware for ensuring response quality.
 */
import type { NeuroLinkMiddleware, AutoEvaluationConfig } from "../../types/index.js";
/**
 * Creates the Auto-Evaluation middleware, which intercepts generation requests
 * to evaluate the quality of the response. If the response quality is below a
 * configured threshold, it can trigger retries with feedback.
 *
 * @param config - Configuration for the auto-evaluation middleware.
 * @returns A `NeuroLinkMiddleware` object.
 */
export declare function createAutoEvaluationMiddleware(config?: AutoEvaluationConfig): NeuroLinkMiddleware;
export default createAutoEvaluationMiddleware;
