import type { TextDocument } from 'vscode-languageserver-textdocument'; import type { Diagnostic } from 'vscode-languageserver-types'; import type { SingleYAMLDocument } from '../../parser/yaml-documents.js'; export interface AdditionalValidator { validate(document: TextDocument, yamlDoc: SingleYAMLDocument): Diagnostic[]; }