import { type ValidateFunction } from 'ajv'; import { type OpenApiVersion } from '../../configuration/index.js'; import type { AnyObject, Filesystem, ThrowOnErrorOption, ValidateResult } from '../../types/index.js'; export declare class Validator { version: OpenApiVersion; static supportedVersions: ("2.0" | "3.0" | "3.1" | "3.2")[]; protected ajvValidators: Record; protected errors: string; protected specificationVersion: string; protected specificationType: string; specification: AnyObject; /** * Checks whether a specification is valid and all references can be resolved. */ validate(filesystem: Filesystem, options?: ThrowOnErrorOption): ValidateResult; /** * Ajv JSON schema validator */ getAjvValidator(version: OpenApiVersion): ValidateFunction; } //# sourceMappingURL=Validator.d.ts.map