import type { AgentConfig, ValidationResult } from "./types.js"; /** * Build a system prompt for a validator agent. * The validator receives the main agent's output and must judge it against criteria. * CVE-004 FIX: Input sanitization to prevent validator manipulation. */ export declare function buildValidatorPrompt(originalOutput: string, criteria: readonly string[], mainAgentDescription: string): string; /** * Parse a validation result from validator output text. * Looks for JSON block, falls back to markdown parsing. */ export declare function parseValidationResult(text: string, agentId: string): ValidationResult; /** * Check if an agent config has validators configured. */ export declare function hasValidators(config?: AgentConfig): boolean; /** * Extract validator description from config for prompt generation. */ export declare function getAgentDescription(config?: AgentConfig): string;