import { LSPClientConnection } from "./lsp-client-connection"; import type { Diagnostic } from "./types"; export declare class LSPClient extends LSPClientConnection { private openedFiles; private documentVersions; private lastSyncedText; openFile(filePath: string): Promise; definition(filePath: string, line: number, character: number): Promise; references(filePath: string, line: number, character: number, includeDeclaration?: boolean): Promise; documentSymbols(filePath: string): Promise; workspaceSymbols(query: string): Promise; diagnostics(filePath: string): Promise<{ items: Diagnostic[]; }>; prepareRename(filePath: string, line: number, character: number): Promise; rename(filePath: string, line: number, character: number, newName: string): Promise; }