import type { LspServerState } from "./types.ts"; export declare function writeMessage(process: any, message: object): void; interface ServerBuffer { buffer: Buffer; state: LspServerState; } export declare function processBuffer(buffers: Map, languageId: string, dispatchMessageFn: (languageId: string, state: LspServerState, msg: any) => void): void; export declare function dispatchMessage(languageId: string, state: LspServerState, msg: any): void; export declare function resolveLanguageIdFromParams(params: object): string | undefined; export {}; //# sourceMappingURL=rpc-handler.d.ts.map