import { HttpResponse } from '../../types'; import { IAssertionHandler, AssertionResult } from '../IAssertionHandler'; export declare class JsonSchemaHandler implements IAssertionHandler { readonly type = "json-schema"; private ajv; constructor(); canHandle(key: string): boolean; assert(key: string, value: string, response: HttpResponse): AssertionResult; /** * Load schema from inline JSON or file path */ private loadSchema; /** * Check if value looks like a file path */ private isFilePath; /** * Load schema from file */ private loadSchemaFromFile; /** * Format validation errors into readable message */ private formatErrors; }