/** * Input Validation Tester * * Tests tool input validation with 4 test types: * - missing_required: Tests missing required parameters * - wrong_type: Tests type validation with wrong types * - excessive_input: Tests input size limits * - invalid_values: Tests edge case handling * * @module assessment/modules/ProtocolComplianceAssessor/errorHandling/InputValidationTester * @see GitHub Issue #188 */ import type { ErrorTestDetail, CallToolFunction, Tool, Logger, AssessmentConfiguration } from "../types.js"; /** * Tests tool input validation across multiple scenarios. */ export declare class InputValidationTester { private errorClassifier; private invalidValuesAnalyzer; private reporter; constructor(config: AssessmentConfiguration, logger: Logger); /** * Execute with timeout helper. */ private executeWithTimeout; /** * Test all error handling scenarios for a single tool. */ testTool(tool: Tool, callTool: CallToolFunction, isExternalAPI: boolean): Promise; /** * Test missing required parameters. */ testMissingParameters(tool: Tool, callTool: CallToolFunction, isExternalAPI?: boolean): Promise; /** * Test wrong parameter types. */ testWrongTypes(tool: Tool, callTool: CallToolFunction, isExternalAPI?: boolean): Promise; /** * Test invalid parameter values (edge cases). */ testInvalidValues(tool: Tool, callTool: CallToolFunction, isExternalAPI?: boolean): Promise; /** * Test excessive input size. */ testExcessiveInput(tool: Tool, callTool: CallToolFunction, isExternalAPI?: boolean): Promise; private getToolSchema; private safeJsonParse; private generateWrongTypeParams; private generateInvalidValueParams; private generateParamsWithValue; private isErrorResponse; private extractErrorInfo; } //# sourceMappingURL=InputValidationTester.d.ts.map