import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
import { require_browser } from "../../../vscode-jsonrpc/browser.js";
import { require_api } from "../common/api.js";
var require_main = /* @__PURE__ */ __commonJSMin(((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 = require_browser();
	i(require_browser(), e), i(require_api(), e);
	function o(e, t, n, r) {
		return (0, a.createMessageConnection)(e, t, n, r);
	}
	e.createProtocolConnection = o;
}));
export default require_main();
export { require_main };
