import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
import { require_main } from "../../../vscode-jsonrpc/lib/browser/main.js";
var require_connection = /* @__PURE__ */ __commonJSMin(((e) => {
	Object.defineProperty(e, "__esModule", { value: !0 }), e.createProtocolConnection = void 0;
	var n = require_main();
	function r(e, t, r, i) {
		return n.ConnectionStrategy.is(i) && (i = { connectionStrategy: i }), (0, n.createMessageConnection)(e, t, r, i);
	}
	e.createProtocolConnection = r;
}));
export default require_connection();
export { require_connection };
