import { Connection, TextDocuments } from "vscode-languageserver/node";
import { TextDocument } from "vscode-languageserver-textdocument";
export declare class DocumentService {
    documents: TextDocuments<TextDocument>;
    document?: TextDocument;
    constructor(connection: Connection);
    get(uri: string): TextDocument | undefined;
    getAll(): TextDocument[];
    get onDidChangeContent(): import("vscode-jsonrpc").Event<import("vscode-languageserver").TextDocumentChangeEvent<TextDocument>>;
    get onDidOpen(): import("vscode-jsonrpc").Event<import("vscode-languageserver").TextDocumentChangeEvent<TextDocument>>;
    get onDidClose(): import("vscode-jsonrpc").Event<import("vscode-languageserver").TextDocumentChangeEvent<TextDocument>>;
}
