//#region ../../node_modules/@vitest/utils/dist/timers.js
var e = Symbol("vitest:SAFE_TIMERS");
function t() {
	let { setTimeout: t, setInterval: n, clearInterval: r, clearTimeout: i, setImmediate: a, clearImmediate: o, queueMicrotask: s } = globalThis[e] || globalThis, { nextTick: c } = globalThis[e] || globalThis.process || {};
	return {
		nextTick: c,
		setTimeout: t,
		setInterval: n,
		clearInterval: r,
		clearTimeout: i,
		setImmediate: a,
		clearImmediate: o,
		queueMicrotask: s
	};
}
//#endregion
export { t as getSafeTimers };

//# sourceMappingURL=timers.js.map