/** * Semantic validation module for Bellwether. * * This module provides semantic type inference and validation for MCP tool * parameters, enabling more intelligent testing of input validation. * * @example * ```typescript * import { * inferSemanticType, * validateSemanticValue, * generateSemanticTests, * } from './validation/index.js'; * * // Infer semantic type from parameter name and description * const inference = inferSemanticType('email', 'User email address'); * // { paramName: 'email', inferredType: 'email', confidence: 0.9, ... } * * // Validate a value against the inferred type * const result = validateSemanticValue('email', 'invalid', 'email'); * // { isValid: false, issue: 'Invalid email format: invalid' } * * // Generate semantic validation tests for a tool * const { tests, inferences } = generateSemanticTests(tool); * ``` */ export type { SemanticType, SemanticInference, SemanticValidationResult, SemanticPatternDefinition, } from './semantic-types.js'; export { SEMANTIC_PATTERNS, getAllSemanticTypes, isSemanticType, } from './semantic-types.js'; export { inferSemanticType, validateSemanticValue, validateAllParameters, } from './semantic-validator.js'; export type { SemanticTestResult, SemanticTestOptions, } from './semantic-test-generator.js'; export { generateSemanticTests, getInvalidValuesForType, getTestableSemanticTypes, } from './semantic-test-generator.js'; //# sourceMappingURL=index.d.ts.map