import { __commonJSMin as e, __toCommonJS as t } from "../../../../_virtual/_rolldown/runtime.js";
import { init_main as n, main_exports as r } from "../../../vscode-languageserver-types/lib/esm/main.js";
import { require_main as i } from "../../../vscode-jsonrpc/lib/browser/main.js";
import { require_messages as a } from "./messages.js";
import { require_protocol as o } from "./protocol.js";
import { require_connection as s } from "./connection.js";
//#region ../../node_modules/vscode-languageserver-protocol/lib/common/api.js
var c = /* @__PURE__ */ e(((e) => {
	var c = e && e.__createBinding || (Object.create ? (function(e, t, n, r) {
		r === void 0 && (r = n);
		var i = Object.getOwnPropertyDescriptor(t, n);
		(!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = {
			enumerable: !0,
			get: function() {
				return t[n];
			}
		}), Object.defineProperty(e, r, i);
	}) : (function(e, t, n, r) {
		r === void 0 && (r = n), e[r] = t[n];
	})), l = e && e.__exportStar || function(e, t) {
		for (var n in e) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && c(t, e, n);
	};
	Object.defineProperty(e, "__esModule", { value: !0 }), e.LSPErrorCodes = e.createProtocolConnection = void 0, l(i(), e), l((n(), t(r)), e), l(a(), e), l(o(), e);
	var u = s();
	Object.defineProperty(e, "createProtocolConnection", {
		enumerable: !0,
		get: function() {
			return u.createProtocolConnection;
		}
	});
	var d;
	(function(e) {
		e.lspReservedErrorRangeStart = -32899, e.RequestFailed = -32803, e.ServerCancelled = -32802, e.ContentModified = -32801, e.RequestCancelled = -32800, e.lspReservedErrorRangeEnd = -32800;
	})(d || (e.LSPErrorCodes = d = {}));
}));
//#endregion
export default c();
export { c as require_api };
