import type { Diagnostic, Hover, Location, Position, WorkspaceEdit } from "./protocol.js"; export type Notifier = (message: string, level?: "info" | "warning" | "error") => void; export declare class LspManager { private readonly cwd; private readonly notify; private servers; private commandChecked; constructor(cwd: string, notify: Notifier); private absPath; private commandExists; private findRoot; private instanceKey; private getOrCreate; private initialize; private ensureOpen; private waitForDiagnostics; diagnostics(filePath: string): Promise<{ path: string; diagnostics: Diagnostic[]; } | undefined>; definition(filePath: string, position: Position): Promise; references(filePath: string, position: Position): Promise; hover(filePath: string, position: Position): Promise; rename(filePath: string, position: Position, newName: string): Promise; disposeAll(): Promise; } //# sourceMappingURL=manager.d.ts.map