"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_process_abort = require('../process/abort.js');

//#region src/promises/_internal.ts
/**
* @file Private internals for `promises/*` modules — the lazy
*   `node:timers/promises` accessor + the shared abort signal. Underscore
*   prefix excludes from public exports.
*/
const abortSignal = require_process_abort.getAbortSignal();
/**
* Get the timers/promises module. Lazy `require` (not a top-level import) to
* avoid Webpack bundling issues.
*
* Intentionally NOT memoized: Node's module cache already makes the repeat
* `require` effectively free, and caching the reference breaks fake timers
* (`vi.useFakeTimers()` swaps the clock after this module loads; a cached
* reference would hold the pre-fake real `setTimeout`, burning real wallclock
* on retry backoff and starving the test worker pool).
*
* @private
*
* @returns The Node.js timers/promises module
*/
/*@__NO_SIDE_EFFECTS__*/
function getTimers() {
	return require("node:timers/promises");
}

//#endregion
exports.abortSignal = abortSignal;
exports.getTimers = getTimers;