import { __commonJSMin } from "../../../../_virtual/rolldown_runtime.js";
import { require_main } from "../../../vscode-jsonrpc/lib/browser/main.js";
import { require_messages } from "./messages.js";
var require_protocol_progress = /* @__PURE__ */ __commonJSMin(((e) => {
	Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkDoneProgressCancelNotification = e.WorkDoneProgressCreateRequest = e.WorkDoneProgress = void 0;
	var r = require_main(), i = require_messages(), a;
	(function(e) {
		e.type = new r.ProgressType();
		function n(n) {
			return n === e.type;
		}
		e.is = n;
	})(a || (e.WorkDoneProgress = a = {}));
	var o;
	(function(e) {
		e.method = "window/workDoneProgress/create", e.messageDirection = i.MessageDirection.serverToClient, e.type = new i.ProtocolRequestType(e.method);
	})(o || (e.WorkDoneProgressCreateRequest = o = {}));
	var s;
	(function(e) {
		e.method = "window/workDoneProgress/cancel", e.messageDirection = i.MessageDirection.clientToServer, e.type = new i.ProtocolNotificationType(e.method);
	})(s || (e.WorkDoneProgressCancelNotification = s = {}));
}));
export default require_protocol_progress();
export { require_protocol_progress };
