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