import { EventEmitter } from "node:events"; export interface LspClientOptions { command: string; args: string[]; cwd: string; env?: NodeJS.ProcessEnv; } export declare class LspClient extends EventEmitter { private readonly options; private proc; private nextId; private pending; private buffer; private disposed; constructor(options: LspClientOptions); start(): void; isRunning(): boolean; request(method: string, params?: unknown, timeoutMs?: number): Promise; notify(method: string, params?: unknown): void; dispose(): Promise; private write; private writeRaw; private onData; private drain; private handleMessage; private defaultServerRequestResult; private rejectAll; } //# sourceMappingURL=client.d.ts.map