import { __commonJSMin as e, __toCommonJS as t } from "../../../../_virtual/_rolldown/runtime.js";
import { init_main as n, main_exports as ee } from "../../../vscode-languageserver-types/lib/esm/main.js";
import { require_messages as te } from "./messages.js";
import { require_is as ne } from "./utils/is.js";
import { require_protocol_implementation as re } from "./protocol.implementation.js";
import { require_protocol_typeDefinition as ie } from "./protocol.typeDefinition.js";
import { require_protocol_workspaceFolder as ae } from "./protocol.workspaceFolder.js";
import { require_protocol_configuration as oe } from "./protocol.configuration.js";
import { require_protocol_colorProvider as se } from "./protocol.colorProvider.js";
import { require_protocol_foldingRange as ce } from "./protocol.foldingRange.js";
import { require_protocol_declaration as le } from "./protocol.declaration.js";
import { require_protocol_selectionRange as ue } from "./protocol.selectionRange.js";
import { require_protocol_progress as de } from "./protocol.progress.js";
import { require_protocol_callHierarchy as fe } from "./protocol.callHierarchy.js";
import { require_protocol_semanticTokens as pe } from "./protocol.semanticTokens.js";
import { require_protocol_showDocument as me } from "./protocol.showDocument.js";
import { require_protocol_linkedEditingRange as he } from "./protocol.linkedEditingRange.js";
import { require_protocol_fileOperations as ge } from "./protocol.fileOperations.js";
import { require_protocol_moniker as _e } from "./protocol.moniker.js";
import { require_protocol_typeHierarchy as ve } from "./protocol.typeHierarchy.js";
import { require_protocol_inlineValue as ye } from "./protocol.inlineValue.js";
import { require_protocol_inlayHint as be } from "./protocol.inlayHint.js";
import { require_protocol_diagnostic as xe } from "./protocol.diagnostic.js";
import { require_protocol_notebook as Se } from "./protocol.notebook.js";
import { require_protocol_inlineCompletion as Ce } from "./protocol.inlineCompletion.js";
//#region ../../node_modules/vscode-languageserver-protocol/lib/common/protocol.js
var r = /* @__PURE__ */ e(((e) => {
	Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkspaceSymbolRequest = e.CodeActionResolveRequest = e.CodeActionRequest = e.DocumentSymbolRequest = e.DocumentHighlightRequest = e.ReferencesRequest = e.DefinitionRequest = e.SignatureHelpRequest = e.SignatureHelpTriggerKind = e.HoverRequest = e.CompletionResolveRequest = e.CompletionRequest = e.CompletionTriggerKind = e.PublishDiagnosticsNotification = e.WatchKind = e.RelativePattern = e.FileChangeType = e.DidChangeWatchedFilesNotification = e.WillSaveTextDocumentWaitUntilRequest = e.WillSaveTextDocumentNotification = e.TextDocumentSaveReason = e.DidSaveTextDocumentNotification = e.DidCloseTextDocumentNotification = e.DidChangeTextDocumentNotification = e.TextDocumentContentChangeEvent = e.DidOpenTextDocumentNotification = e.TextDocumentSyncKind = e.TelemetryEventNotification = e.LogMessageNotification = e.ShowMessageRequest = e.ShowMessageNotification = e.MessageType = e.DidChangeConfigurationNotification = e.ExitNotification = e.ShutdownRequest = e.InitializedNotification = e.InitializeErrorCodes = e.InitializeRequest = e.WorkDoneProgressOptions = e.TextDocumentRegistrationOptions = e.StaticRegistrationOptions = e.PositionEncodingKind = e.FailureHandlingKind = e.ResourceOperationKind = e.UnregistrationRequest = e.RegistrationRequest = e.DocumentSelector = e.NotebookCellTextDocumentFilter = e.NotebookDocumentFilter = e.TextDocumentFilter = void 0, e.MonikerRequest = e.MonikerKind = e.UniquenessLevel = e.WillDeleteFilesRequest = e.DidDeleteFilesNotification = e.WillRenameFilesRequest = e.DidRenameFilesNotification = e.WillCreateFilesRequest = e.DidCreateFilesNotification = e.FileOperationPatternKind = e.LinkedEditingRangeRequest = e.ShowDocumentRequest = e.SemanticTokensRegistrationType = e.SemanticTokensRefreshRequest = e.SemanticTokensRangeRequest = e.SemanticTokensDeltaRequest = e.SemanticTokensRequest = e.TokenFormat = e.CallHierarchyPrepareRequest = e.CallHierarchyOutgoingCallsRequest = e.CallHierarchyIncomingCallsRequest = e.WorkDoneProgressCancelNotification = e.WorkDoneProgressCreateRequest = e.WorkDoneProgress = e.SelectionRangeRequest = e.DeclarationRequest = e.FoldingRangeRefreshRequest = e.FoldingRangeRequest = e.ColorPresentationRequest = e.DocumentColorRequest = e.ConfigurationRequest = e.DidChangeWorkspaceFoldersNotification = e.WorkspaceFoldersRequest = e.TypeDefinitionRequest = e.ImplementationRequest = e.ApplyWorkspaceEditRequest = e.ExecuteCommandRequest = e.PrepareRenameRequest = e.RenameRequest = e.PrepareSupportDefaultBehavior = e.DocumentOnTypeFormattingRequest = e.DocumentRangesFormattingRequest = e.DocumentRangeFormattingRequest = e.DocumentFormattingRequest = e.DocumentLinkResolveRequest = e.DocumentLinkRequest = e.CodeLensRefreshRequest = e.CodeLensResolveRequest = e.CodeLensRequest = e.WorkspaceSymbolResolveRequest = void 0, e.InlineCompletionRequest = e.DidCloseNotebookDocumentNotification = e.DidSaveNotebookDocumentNotification = e.DidChangeNotebookDocumentNotification = e.NotebookCellArrayChange = e.DidOpenNotebookDocumentNotification = e.NotebookDocumentSyncRegistrationType = e.NotebookDocument = e.NotebookCell = e.ExecutionSummary = e.NotebookCellKind = e.DiagnosticRefreshRequest = e.WorkspaceDiagnosticRequest = e.DocumentDiagnosticRequest = e.DocumentDiagnosticReportKind = e.DiagnosticServerCancellationData = e.InlayHintRefreshRequest = e.InlayHintResolveRequest = e.InlayHintRequest = e.InlineValueRefreshRequest = e.InlineValueRequest = e.TypeHierarchySupertypesRequest = e.TypeHierarchySubtypesRequest = e.TypeHierarchyPrepareRequest = void 0;
	var r = te(), i = (n(), t(ee)), a = ne(), we = re();
	Object.defineProperty(e, "ImplementationRequest", {
		enumerable: !0,
		get: function() {
			return we.ImplementationRequest;
		}
	});
	var Te = ie();
	Object.defineProperty(e, "TypeDefinitionRequest", {
		enumerable: !0,
		get: function() {
			return Te.TypeDefinitionRequest;
		}
	});
	var o = ae();
	Object.defineProperty(e, "WorkspaceFoldersRequest", {
		enumerable: !0,
		get: function() {
			return o.WorkspaceFoldersRequest;
		}
	}), Object.defineProperty(e, "DidChangeWorkspaceFoldersNotification", {
		enumerable: !0,
		get: function() {
			return o.DidChangeWorkspaceFoldersNotification;
		}
	});
	var Ee = oe();
	Object.defineProperty(e, "ConfigurationRequest", {
		enumerable: !0,
		get: function() {
			return Ee.ConfigurationRequest;
		}
	});
	var s = se();
	Object.defineProperty(e, "DocumentColorRequest", {
		enumerable: !0,
		get: function() {
			return s.DocumentColorRequest;
		}
	}), Object.defineProperty(e, "ColorPresentationRequest", {
		enumerable: !0,
		get: function() {
			return s.ColorPresentationRequest;
		}
	});
	var c = ce();
	Object.defineProperty(e, "FoldingRangeRequest", {
		enumerable: !0,
		get: function() {
			return c.FoldingRangeRequest;
		}
	}), Object.defineProperty(e, "FoldingRangeRefreshRequest", {
		enumerable: !0,
		get: function() {
			return c.FoldingRangeRefreshRequest;
		}
	});
	var De = le();
	Object.defineProperty(e, "DeclarationRequest", {
		enumerable: !0,
		get: function() {
			return De.DeclarationRequest;
		}
	});
	var Oe = ue();
	Object.defineProperty(e, "SelectionRangeRequest", {
		enumerable: !0,
		get: function() {
			return Oe.SelectionRangeRequest;
		}
	});
	var l = de();
	Object.defineProperty(e, "WorkDoneProgress", {
		enumerable: !0,
		get: function() {
			return l.WorkDoneProgress;
		}
	}), Object.defineProperty(e, "WorkDoneProgressCreateRequest", {
		enumerable: !0,
		get: function() {
			return l.WorkDoneProgressCreateRequest;
		}
	}), Object.defineProperty(e, "WorkDoneProgressCancelNotification", {
		enumerable: !0,
		get: function() {
			return l.WorkDoneProgressCancelNotification;
		}
	});
	var u = fe();
	Object.defineProperty(e, "CallHierarchyIncomingCallsRequest", {
		enumerable: !0,
		get: function() {
			return u.CallHierarchyIncomingCallsRequest;
		}
	}), Object.defineProperty(e, "CallHierarchyOutgoingCallsRequest", {
		enumerable: !0,
		get: function() {
			return u.CallHierarchyOutgoingCallsRequest;
		}
	}), Object.defineProperty(e, "CallHierarchyPrepareRequest", {
		enumerable: !0,
		get: function() {
			return u.CallHierarchyPrepareRequest;
		}
	});
	var d = pe();
	Object.defineProperty(e, "TokenFormat", {
		enumerable: !0,
		get: function() {
			return d.TokenFormat;
		}
	}), Object.defineProperty(e, "SemanticTokensRequest", {
		enumerable: !0,
		get: function() {
			return d.SemanticTokensRequest;
		}
	}), Object.defineProperty(e, "SemanticTokensDeltaRequest", {
		enumerable: !0,
		get: function() {
			return d.SemanticTokensDeltaRequest;
		}
	}), Object.defineProperty(e, "SemanticTokensRangeRequest", {
		enumerable: !0,
		get: function() {
			return d.SemanticTokensRangeRequest;
		}
	}), Object.defineProperty(e, "SemanticTokensRefreshRequest", {
		enumerable: !0,
		get: function() {
			return d.SemanticTokensRefreshRequest;
		}
	}), Object.defineProperty(e, "SemanticTokensRegistrationType", {
		enumerable: !0,
		get: function() {
			return d.SemanticTokensRegistrationType;
		}
	});
	var ke = me();
	Object.defineProperty(e, "ShowDocumentRequest", {
		enumerable: !0,
		get: function() {
			return ke.ShowDocumentRequest;
		}
	});
	var Ae = he();
	Object.defineProperty(e, "LinkedEditingRangeRequest", {
		enumerable: !0,
		get: function() {
			return Ae.LinkedEditingRangeRequest;
		}
	});
	var f = ge();
	Object.defineProperty(e, "FileOperationPatternKind", {
		enumerable: !0,
		get: function() {
			return f.FileOperationPatternKind;
		}
	}), Object.defineProperty(e, "DidCreateFilesNotification", {
		enumerable: !0,
		get: function() {
			return f.DidCreateFilesNotification;
		}
	}), Object.defineProperty(e, "WillCreateFilesRequest", {
		enumerable: !0,
		get: function() {
			return f.WillCreateFilesRequest;
		}
	}), Object.defineProperty(e, "DidRenameFilesNotification", {
		enumerable: !0,
		get: function() {
			return f.DidRenameFilesNotification;
		}
	}), Object.defineProperty(e, "WillRenameFilesRequest", {
		enumerable: !0,
		get: function() {
			return f.WillRenameFilesRequest;
		}
	}), Object.defineProperty(e, "DidDeleteFilesNotification", {
		enumerable: !0,
		get: function() {
			return f.DidDeleteFilesNotification;
		}
	}), Object.defineProperty(e, "WillDeleteFilesRequest", {
		enumerable: !0,
		get: function() {
			return f.WillDeleteFilesRequest;
		}
	});
	var p = _e();
	Object.defineProperty(e, "UniquenessLevel", {
		enumerable: !0,
		get: function() {
			return p.UniquenessLevel;
		}
	}), Object.defineProperty(e, "MonikerKind", {
		enumerable: !0,
		get: function() {
			return p.MonikerKind;
		}
	}), Object.defineProperty(e, "MonikerRequest", {
		enumerable: !0,
		get: function() {
			return p.MonikerRequest;
		}
	});
	var m = ve();
	Object.defineProperty(e, "TypeHierarchyPrepareRequest", {
		enumerable: !0,
		get: function() {
			return m.TypeHierarchyPrepareRequest;
		}
	}), Object.defineProperty(e, "TypeHierarchySubtypesRequest", {
		enumerable: !0,
		get: function() {
			return m.TypeHierarchySubtypesRequest;
		}
	}), Object.defineProperty(e, "TypeHierarchySupertypesRequest", {
		enumerable: !0,
		get: function() {
			return m.TypeHierarchySupertypesRequest;
		}
	});
	var h = ye();
	Object.defineProperty(e, "InlineValueRequest", {
		enumerable: !0,
		get: function() {
			return h.InlineValueRequest;
		}
	}), Object.defineProperty(e, "InlineValueRefreshRequest", {
		enumerable: !0,
		get: function() {
			return h.InlineValueRefreshRequest;
		}
	});
	var g = be();
	Object.defineProperty(e, "InlayHintRequest", {
		enumerable: !0,
		get: function() {
			return g.InlayHintRequest;
		}
	}), Object.defineProperty(e, "InlayHintResolveRequest", {
		enumerable: !0,
		get: function() {
			return g.InlayHintResolveRequest;
		}
	}), Object.defineProperty(e, "InlayHintRefreshRequest", {
		enumerable: !0,
		get: function() {
			return g.InlayHintRefreshRequest;
		}
	});
	var _ = xe();
	Object.defineProperty(e, "DiagnosticServerCancellationData", {
		enumerable: !0,
		get: function() {
			return _.DiagnosticServerCancellationData;
		}
	}), Object.defineProperty(e, "DocumentDiagnosticReportKind", {
		enumerable: !0,
		get: function() {
			return _.DocumentDiagnosticReportKind;
		}
	}), Object.defineProperty(e, "DocumentDiagnosticRequest", {
		enumerable: !0,
		get: function() {
			return _.DocumentDiagnosticRequest;
		}
	}), Object.defineProperty(e, "WorkspaceDiagnosticRequest", {
		enumerable: !0,
		get: function() {
			return _.WorkspaceDiagnosticRequest;
		}
	}), Object.defineProperty(e, "DiagnosticRefreshRequest", {
		enumerable: !0,
		get: function() {
			return _.DiagnosticRefreshRequest;
		}
	});
	var v = Se();
	Object.defineProperty(e, "NotebookCellKind", {
		enumerable: !0,
		get: function() {
			return v.NotebookCellKind;
		}
	}), Object.defineProperty(e, "ExecutionSummary", {
		enumerable: !0,
		get: function() {
			return v.ExecutionSummary;
		}
	}), Object.defineProperty(e, "NotebookCell", {
		enumerable: !0,
		get: function() {
			return v.NotebookCell;
		}
	}), Object.defineProperty(e, "NotebookDocument", {
		enumerable: !0,
		get: function() {
			return v.NotebookDocument;
		}
	}), Object.defineProperty(e, "NotebookDocumentSyncRegistrationType", {
		enumerable: !0,
		get: function() {
			return v.NotebookDocumentSyncRegistrationType;
		}
	}), Object.defineProperty(e, "DidOpenNotebookDocumentNotification", {
		enumerable: !0,
		get: function() {
			return v.DidOpenNotebookDocumentNotification;
		}
	}), Object.defineProperty(e, "NotebookCellArrayChange", {
		enumerable: !0,
		get: function() {
			return v.NotebookCellArrayChange;
		}
	}), Object.defineProperty(e, "DidChangeNotebookDocumentNotification", {
		enumerable: !0,
		get: function() {
			return v.DidChangeNotebookDocumentNotification;
		}
	}), Object.defineProperty(e, "DidSaveNotebookDocumentNotification", {
		enumerable: !0,
		get: function() {
			return v.DidSaveNotebookDocumentNotification;
		}
	}), Object.defineProperty(e, "DidCloseNotebookDocumentNotification", {
		enumerable: !0,
		get: function() {
			return v.DidCloseNotebookDocumentNotification;
		}
	});
	var je = Ce();
	Object.defineProperty(e, "InlineCompletionRequest", {
		enumerable: !0,
		get: function() {
			return je.InlineCompletionRequest;
		}
	});
	var y;
	(function(e) {
		function t(e) {
			let t = e;
			return a.string(t) || a.string(t.language) || a.string(t.scheme) || a.string(t.pattern);
		}
		e.is = t;
	})(y || (e.TextDocumentFilter = y = {}));
	var b;
	(function(e) {
		function t(e) {
			let t = e;
			return a.objectLiteral(t) && (a.string(t.notebookType) || a.string(t.scheme) || a.string(t.pattern));
		}
		e.is = t;
	})(b || (e.NotebookDocumentFilter = b = {}));
	var x;
	(function(e) {
		function t(e) {
			let t = e;
			return a.objectLiteral(t) && (a.string(t.notebook) || b.is(t.notebook)) && (t.language === void 0 || a.string(t.language));
		}
		e.is = t;
	})(x || (e.NotebookCellTextDocumentFilter = x = {}));
	var S;
	(function(e) {
		function t(e) {
			if (!Array.isArray(e)) return !1;
			for (let t of e) if (!a.string(t) && !y.is(t) && !x.is(t)) return !1;
			return !0;
		}
		e.is = t;
	})(S || (e.DocumentSelector = S = {}));
	var C;
	(function(e) {
		e.method = "client/registerCapability", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolRequestType(e.method);
	})(C || (e.RegistrationRequest = C = {}));
	var w;
	(function(e) {
		e.method = "client/unregisterCapability", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolRequestType(e.method);
	})(w || (e.UnregistrationRequest = w = {}));
	var T;
	(function(e) {
		e.Create = "create", e.Rename = "rename", e.Delete = "delete";
	})(T || (e.ResourceOperationKind = T = {}));
	var E;
	(function(e) {
		e.Abort = "abort", e.Transactional = "transactional", e.TextOnlyTransactional = "textOnlyTransactional", e.Undo = "undo";
	})(E || (e.FailureHandlingKind = E = {}));
	var D;
	(function(e) {
		e.UTF8 = "utf-8", e.UTF16 = "utf-16", e.UTF32 = "utf-32";
	})(D || (e.PositionEncodingKind = D = {}));
	var O;
	(function(e) {
		function t(e) {
			let t = e;
			return t && a.string(t.id) && t.id.length > 0;
		}
		e.hasId = t;
	})(O || (e.StaticRegistrationOptions = O = {}));
	var k;
	(function(e) {
		function t(e) {
			let t = e;
			return t && (t.documentSelector === null || S.is(t.documentSelector));
		}
		e.is = t;
	})(k || (e.TextDocumentRegistrationOptions = k = {}));
	var A;
	(function(e) {
		function t(e) {
			let t = e;
			return a.objectLiteral(t) && (t.workDoneProgress === void 0 || a.boolean(t.workDoneProgress));
		}
		e.is = t;
		function n(e) {
			let t = e;
			return t && a.boolean(t.workDoneProgress);
		}
		e.hasWorkDoneProgress = n;
	})(A || (e.WorkDoneProgressOptions = A = {}));
	var j;
	(function(e) {
		e.method = "initialize", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(j || (e.InitializeRequest = j = {}));
	var M;
	(function(e) {
		e.unknownProtocolVersion = 1;
	})(M || (e.InitializeErrorCodes = M = {}));
	var N;
	(function(e) {
		e.method = "initialized", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(N || (e.InitializedNotification = N = {}));
	var P;
	(function(e) {
		e.method = "shutdown", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType0(e.method);
	})(P || (e.ShutdownRequest = P = {}));
	var F;
	(function(e) {
		e.method = "exit", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType0(e.method);
	})(F || (e.ExitNotification = F = {}));
	var I;
	(function(e) {
		e.method = "workspace/didChangeConfiguration", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(I || (e.DidChangeConfigurationNotification = I = {}));
	var L;
	(function(e) {
		e.Error = 1, e.Warning = 2, e.Info = 3, e.Log = 4, e.Debug = 5;
	})(L || (e.MessageType = L = {}));
	var R;
	(function(e) {
		e.method = "window/showMessage", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolNotificationType(e.method);
	})(R || (e.ShowMessageNotification = R = {}));
	var Me;
	(function(e) {
		e.method = "window/showMessageRequest", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolRequestType(e.method);
	})(Me || (e.ShowMessageRequest = Me = {}));
	var z;
	(function(e) {
		e.method = "window/logMessage", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolNotificationType(e.method);
	})(z || (e.LogMessageNotification = z = {}));
	var B;
	(function(e) {
		e.method = "telemetry/event", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolNotificationType(e.method);
	})(B || (e.TelemetryEventNotification = B = {}));
	var V;
	(function(e) {
		e.None = 0, e.Full = 1, e.Incremental = 2;
	})(V || (e.TextDocumentSyncKind = V = {}));
	var H;
	(function(e) {
		e.method = "textDocument/didOpen", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(H || (e.DidOpenTextDocumentNotification = H = {}));
	var U;
	(function(e) {
		function t(e) {
			let t = e;
			return t != null && typeof t.text == "string" && t.range !== void 0 && (t.rangeLength === void 0 || typeof t.rangeLength == "number");
		}
		e.isIncremental = t;
		function n(e) {
			let t = e;
			return t != null && typeof t.text == "string" && t.range === void 0 && t.rangeLength === void 0;
		}
		e.isFull = n;
	})(U || (e.TextDocumentContentChangeEvent = U = {}));
	var W;
	(function(e) {
		e.method = "textDocument/didChange", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(W || (e.DidChangeTextDocumentNotification = W = {}));
	var G;
	(function(e) {
		e.method = "textDocument/didClose", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(G || (e.DidCloseTextDocumentNotification = G = {}));
	var K;
	(function(e) {
		e.method = "textDocument/didSave", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(K || (e.DidSaveTextDocumentNotification = K = {}));
	var q;
	(function(e) {
		e.Manual = 1, e.AfterDelay = 2, e.FocusOut = 3;
	})(q || (e.TextDocumentSaveReason = q = {}));
	var J;
	(function(e) {
		e.method = "textDocument/willSave", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(J || (e.WillSaveTextDocumentNotification = J = {}));
	var Y;
	(function(e) {
		e.method = "textDocument/willSaveWaitUntil", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Y || (e.WillSaveTextDocumentWaitUntilRequest = Y = {}));
	var X;
	(function(e) {
		e.method = "workspace/didChangeWatchedFiles", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolNotificationType(e.method);
	})(X || (e.DidChangeWatchedFilesNotification = X = {}));
	var Z;
	(function(e) {
		e.Created = 1, e.Changed = 2, e.Deleted = 3;
	})(Z || (e.FileChangeType = Z = {}));
	var Q;
	(function(e) {
		function t(e) {
			let t = e;
			return a.objectLiteral(t) && (i.URI.is(t.baseUri) || i.WorkspaceFolder.is(t.baseUri)) && a.string(t.pattern);
		}
		e.is = t;
	})(Q || (e.RelativePattern = Q = {}));
	var Ne;
	(function(e) {
		e.Create = 1, e.Change = 2, e.Delete = 4;
	})(Ne || (e.WatchKind = Ne = {}));
	var Pe;
	(function(e) {
		e.method = "textDocument/publishDiagnostics", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolNotificationType(e.method);
	})(Pe || (e.PublishDiagnosticsNotification = Pe = {}));
	var Fe;
	(function(e) {
		e.Invoked = 1, e.TriggerCharacter = 2, e.TriggerForIncompleteCompletions = 3;
	})(Fe || (e.CompletionTriggerKind = Fe = {}));
	var Ie;
	(function(e) {
		e.method = "textDocument/completion", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Ie || (e.CompletionRequest = Ie = {}));
	var Le;
	(function(e) {
		e.method = "completionItem/resolve", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Le || (e.CompletionResolveRequest = Le = {}));
	var Re;
	(function(e) {
		e.method = "textDocument/hover", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Re || (e.HoverRequest = Re = {}));
	var ze;
	(function(e) {
		e.Invoked = 1, e.TriggerCharacter = 2, e.ContentChange = 3;
	})(ze || (e.SignatureHelpTriggerKind = ze = {}));
	var Be;
	(function(e) {
		e.method = "textDocument/signatureHelp", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Be || (e.SignatureHelpRequest = Be = {}));
	var Ve;
	(function(e) {
		e.method = "textDocument/definition", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Ve || (e.DefinitionRequest = Ve = {}));
	var He;
	(function(e) {
		e.method = "textDocument/references", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(He || (e.ReferencesRequest = He = {}));
	var Ue;
	(function(e) {
		e.method = "textDocument/documentHighlight", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Ue || (e.DocumentHighlightRequest = Ue = {}));
	var We;
	(function(e) {
		e.method = "textDocument/documentSymbol", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(We || (e.DocumentSymbolRequest = We = {}));
	var Ge;
	(function(e) {
		e.method = "textDocument/codeAction", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Ge || (e.CodeActionRequest = Ge = {}));
	var Ke;
	(function(e) {
		e.method = "codeAction/resolve", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Ke || (e.CodeActionResolveRequest = Ke = {}));
	var qe;
	(function(e) {
		e.method = "workspace/symbol", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(qe || (e.WorkspaceSymbolRequest = qe = {}));
	var Je;
	(function(e) {
		e.method = "workspaceSymbol/resolve", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Je || (e.WorkspaceSymbolResolveRequest = Je = {}));
	var Ye;
	(function(e) {
		e.method = "textDocument/codeLens", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Ye || (e.CodeLensRequest = Ye = {}));
	var Xe;
	(function(e) {
		e.method = "codeLens/resolve", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Xe || (e.CodeLensResolveRequest = Xe = {}));
	var Ze;
	(function(e) {
		e.method = "workspace/codeLens/refresh", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolRequestType0(e.method);
	})(Ze || (e.CodeLensRefreshRequest = Ze = {}));
	var Qe;
	(function(e) {
		e.method = "textDocument/documentLink", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(Qe || (e.DocumentLinkRequest = Qe = {}));
	var $e;
	(function(e) {
		e.method = "documentLink/resolve", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})($e || (e.DocumentLinkResolveRequest = $e = {}));
	var et;
	(function(e) {
		e.method = "textDocument/formatting", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(et || (e.DocumentFormattingRequest = et = {}));
	var tt;
	(function(e) {
		e.method = "textDocument/rangeFormatting", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(tt || (e.DocumentRangeFormattingRequest = tt = {}));
	var nt;
	(function(e) {
		e.method = "textDocument/rangesFormatting", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(nt || (e.DocumentRangesFormattingRequest = nt = {}));
	var rt;
	(function(e) {
		e.method = "textDocument/onTypeFormatting", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(rt || (e.DocumentOnTypeFormattingRequest = rt = {}));
	var it;
	(function(e) {
		e.Identifier = 1;
	})(it || (e.PrepareSupportDefaultBehavior = it = {}));
	var at;
	(function(e) {
		e.method = "textDocument/rename", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(at || (e.RenameRequest = at = {}));
	var ot;
	(function(e) {
		e.method = "textDocument/prepareRename", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(ot || (e.PrepareRenameRequest = ot = {}));
	var st;
	(function(e) {
		e.method = "workspace/executeCommand", e.messageDirection = r.MessageDirection.clientToServer, e.type = new r.ProtocolRequestType(e.method);
	})(st || (e.ExecuteCommandRequest = st = {}));
	var $;
	(function(e) {
		e.method = "workspace/applyEdit", e.messageDirection = r.MessageDirection.serverToClient, e.type = new r.ProtocolRequestType("workspace/applyEdit");
	})($ || (e.ApplyWorkspaceEditRequest = $ = {}));
}));
//#endregion
export default r();
export { r as require_protocol };
