import { __commonJSMin, __toCommonJS } from "../../../../_virtual/rolldown_runtime.js";
import { init_main, main_exports } from "../../../vscode-languageserver-types/lib/esm/main.js";
import { require_main } from "../../../vscode-jsonrpc/lib/browser/main.js";
import { require_messages } from "./messages.js";
import { require_protocol } from "./protocol.js";
import { require_connection } from "./connection.js";
var require_api = /* @__PURE__ */ __commonJSMin(((e) => {
	var c = e && e.__createBinding || (Object.create ? (function(e, i, a, o) {
		o === void 0 && (o = a);
		var s = Object.getOwnPropertyDescriptor(i, a);
		(!s || ("get" in s ? !i.__esModule : s.writable || s.configurable)) && (s = {
			enumerable: !0,
			get: function() {
				return i[a];
			}
		}), Object.defineProperty(e, o, s);
	}) : (function(e, i, a, o) {
		o === void 0 && (o = a), e[o] = i[a];
	})), l = e && e.__exportStar || function(e, i) {
		for (var a in e) a !== "default" && !Object.prototype.hasOwnProperty.call(i, a) && c(i, e, a);
	};
	Object.defineProperty(e, "__esModule", { value: !0 }), e.LSPErrorCodes = e.createProtocolConnection = void 0, l(require_main(), e), l((init_main(), __toCommonJS(main_exports)), e), l(require_messages(), e), l(require_protocol(), e);
	var u = require_connection();
	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 = {}));
}));
export default require_api();
export { require_api };
