"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

//#region src/node/module.ts
let _module;
/*@__NO_SIDE_EFFECTS__*/
function getNodeModule() {
	return _module ??= /*@__PURE__*/ require("node:module");
}
/**
* Lazy + cached reference to `node:module`'s `isBuiltin(name)`. First call
* resolves the binding; subsequent calls dispatch through the cached function
* reference. Safe to detach — `isBuiltin` is `this`-free.
*
* Single source of truth for "is this a Node builtin?" probes across socket-lib
* (used by the smol-binding loaders to gate `require('node:smol-*')`).
*/
let _isBuiltin;
/*@__NO_SIDE_EFFECTS__*/
function isNodeBuiltin(name) {
	return (_isBuiltin ??= (/* @__PURE__ */ getNodeModule()).isBuiltin)(name);
}

//#endregion
exports.getNodeModule = getNodeModule;
exports.isNodeBuiltin = isNodeBuiltin;