import type { Diagnostic } from "vscode-languageserver";
import { YoLexerError } from "../error";
import type { LspDocumentManager } from "./document-manager";
export declare function getDiagnosticsForUri(uri: string, docManager: LspDocumentManager, documentText?: string): Diagnostic[];
export declare function errorToDiagnostics(error: Error, documentText?: string): Diagnostic[];
export declare function lexerErrorToDiagnostic(error: YoLexerError, text: string): Diagnostic;
