/** * Content Validator for Matimo tools. * * Deterministic structural rules that detect malicious or unsafe patterns * in agent-created tool definitions. No LLM involved. */ import type { ToolDefinition } from '../core/schema.js'; import type { ValidationResult, ValidationContext } from './types.js'; /** * Validate a tool definition against content safety rules. * Returns all violations found (does not short-circuit). */ export declare function validateToolContent(tool: ToolDefinition, context: ValidationContext): ValidationResult; /** * Check if a URL targets an internal/metadata network (SSRF protection). * Handles IPv4, IPv6, and common internal hostnames. */ export declare function isSSRFTarget(url: string): boolean; //# sourceMappingURL=content-validator.d.ts.map