/** * LSP client — spawns tailwindcss-language-server over stdio and speaks JSON-RPC. */ export declare const diagnosticsReceived: Map; /** Reset module state between sequential programmatic runs. */ export declare function resetState(): void; /** * Tailwind's hover handler awaits workspace initialization. Project notifications * and silence between diagnostics do not guarantee that initialization is done. * Once the request completes, ask the server which files have an enabled project * and wait for their individual publications, including empty diagnostic lists. */ export declare function waitForDiagnostics(uris: string[], timeoutMs?: number): Promise; /** Wait for a fresh publication; a timeout or server failure is never "clean". */ export declare function waitForDiagnostic(uri: string, timeoutMs?: number): Promise; export declare function startServer(root: string): void; export declare function send(method: string, params: object, timeoutMs?: number): Promise; export declare function notify(method: string, params: object): void; export declare function shutdown(): Promise; export declare function fileUri(absPath: string): string; /** Keep reserved characters escaped while normalizing drive letters and URI encoding. */ export declare function normUri(uri: string): string; export declare function langId(filePath: string): string;