import { __commonJSMin as e } from "../../../../_virtual/_rolldown/runtime.js";
import { require_main as t } from "../../../vscode-jsonrpc/lib/browser/main.js";
import { require_messages as n } from "./messages.js";
import { require_is as r } from "./utils/is.js";
//#region ../../node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js
var i = /* @__PURE__ */ e(((e) => {
	Object.defineProperty(e, "__esModule", { value: !0 }), e.DiagnosticRefreshRequest = e.WorkspaceDiagnosticRequest = e.DocumentDiagnosticRequest = e.DocumentDiagnosticReportKind = e.DiagnosticServerCancellationData = void 0;
	var i = t(), a = r(), o = n(), s;
	(function(e) {
		function t(e) {
			let t = e;
			return t && a.boolean(t.retriggerRequest);
		}
		e.is = t;
	})(s || (e.DiagnosticServerCancellationData = s = {}));
	var c;
	(function(e) {
		e.Full = "full", e.Unchanged = "unchanged";
	})(c || (e.DocumentDiagnosticReportKind = c = {}));
	var l;
	(function(e) {
		e.method = "textDocument/diagnostic", e.messageDirection = o.MessageDirection.clientToServer, e.type = new o.ProtocolRequestType(e.method), e.partialResult = new i.ProgressType();
	})(l || (e.DocumentDiagnosticRequest = l = {}));
	var u;
	(function(e) {
		e.method = "workspace/diagnostic", e.messageDirection = o.MessageDirection.clientToServer, e.type = new o.ProtocolRequestType(e.method), e.partialResult = new i.ProgressType();
	})(u || (e.WorkspaceDiagnosticRequest = u = {}));
	var d;
	(function(e) {
		e.method = "workspace/diagnostic/refresh", e.messageDirection = o.MessageDirection.serverToClient, e.type = new o.ProtocolRequestType0(e.method);
	})(d || (e.DiagnosticRefreshRequest = d = {}));
}));
//#endregion
export default i();
export { i as require_protocol_diagnostic };
