import type { Event } from "@codesandbox/pitcher-common"; import type { language } from "@codesandbox/pitcher-protocol"; export interface ILSPRequestMessage { method: string; params?: unknown; } export interface ILSPNotificationMessage { method: string; params?: unknown; } export type ILSPResponseMessage = language.LanguageLspServerResponse["request"]["params"]["message"]; export interface ILanguageServer { onNotification: Event; sendRequest(message: ILSPRequestMessage): Promise; sendLSPServerResponse(message: ILSPResponseMessage): Promise; sendNotification(message: ILSPNotificationMessage): Promise; } //# sourceMappingURL=ILanguageServer.d.ts.map