import { Diagnostic } from 'vscode-languageserver'; import { TextDocument } from 'vscode-languageserver-textdocument'; import { JSONSchema } from './schemaCache.js'; /** * Validates YAML documents against JSON schemas. */ declare class SchemaValidator { private ajv; constructor(); validate(doc: TextDocument, schema: JSONSchema): Diagnostic[]; private toDiagnostic; private getSeverity; private getMessage; private getRange; } export { SchemaValidator };