/**
 * MCP-specific assertion types — ergonomic assertions for MCP server testing.
 *
 * Each assertion type compiles down to a Promptfoo `javascript` assertion
 * with the appropriate validation logic. The developer writes:
 *
 * ```typescript
 * assertions: [
 *   { type: "tool-called", value: "getDocument" },
 *   { type: "tool-input-matches", value: { documentId: "doc-123" } },
 *   { type: "tool-output-matches", value: { title: "Hello" } },
 *   { type: "error-returned", value: { code: -32602 } },
 * ]
 * ```
 *
 * The compiler transforms these into Promptfoo-compatible `javascript`
 * assertions that inspect the tool call trace in the evaluation output.
 *
 * @see docs/archive/exec-plans/architecture-overhaul/phase-3-mcp-server-mode.md
 */
import type { PromptfooAssertion } from "../../assertion-mapper.js";
import type { MCPAssertionContext } from "./types.js";
/** An AILF assertion definition — accepts both core and generalized types */
interface AssertionInput {
    type: string;
    value?: unknown;
    weight?: number;
    /** Allow additional properties from generalized assertions */
    [key: string]: unknown;
}
/**
 * Build MCP-specific assertions from task assertion definitions.
 *
 * Handles both MCP-specific types (tool-called, tool-input-matches, etc.)
 * and standard assertion types (contains, llm-rubric, etc.) which are
 * passed through unchanged.
 */
export declare function buildMCPAssertions(assertions: AssertionInput[], context: MCPAssertionContext): {
    assertions: PromptfooAssertion[];
    warnings: string[];
};
export {};
