import { NotificationType, RequestType } from "vscode-languageserver-protocol"; /** * Base interface for all messages sent between language servers. */ export interface RemoteMessage { /** * The id of the sender language server */ from: number; /** * The id of the receiver language server */ to: number; /** * The payload of the message */ payload: RemoteMessagePayload; } /** * Base interface for all payloads of messages sent between language servers. */ export interface RemoteMessagePayload { /** * The type of the message */ type: string; } export declare namespace RemoteNotification { /** * Notification type for sending notifications to a remote language server */ const type: NotificationType; } export declare namespace RemoteRequest { /** * Request type for sending requests to a remote language server */ const type: RequestType; } export declare namespace SetLanguageServerIdNotification { /** * Notification type for marking this language server as a secondary language server */ const type: NotificationType; } //# sourceMappingURL=remoteMessages.d.ts.map