import type { Readable, Writable } from 'node:stream'; import type { Diagnostic, LspConfig, ServerStatus } from './types.js'; export declare function normalizeServerStatus(raw: unknown): ServerStatus; export declare class LspServiceClient { private readonly config; private readonly workspaceRoot; private alive; private disabledPermanently; private unavailableReason; private process; private connection; constructor(config: LspConfig, workspaceRoot: string); start(): Promise; checkFile(filePath: string, signal?: AbortSignal): Promise; getAllDiagnostics(): Promise>; status(): Promise; isAlive(): boolean; getUnavailableReason(): string | undefined; shutdown(): Promise; getMcpTransportStreams(): { readable: Readable; writable: Writable; } | null; private resolveBunPath; private pathIsExecutable; private pathIsReadable; private waitForReady; private withAbortGuard; private withTimeout; private disable; private cleanupProcessState; }