import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
import { require_browser as t } from "../../../vscode-jsonrpc/browser.js";
import { require_api as n } from "../common/api.js";
//#region ../../node_modules/vscode-languageserver-protocol/lib/browser/main.js
var r = /* @__PURE__ */ e(((e) => {
	var r = 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];
	})), i = e && e.__exportStar || function(e, t) {
		for (var n in e) n !== "default" && !Object.prototype.hasOwnProperty.call(t, n) && r(t, e, n);
	};
	Object.defineProperty(e, "__esModule", { value: !0 }), e.createProtocolConnection = void 0;
	var a = t();
	i(t(), e), i(n(), e);
	function o(e, t, n, r) {
		return (0, a.createMessageConnection)(e, t, n, r);
	}
	e.createProtocolConnection = o;
}));
//#endregion
export default r();
export { r as require_main };
