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

//#region src/smol/versions.ts
/**
* @file Lazy-loader for socket-btm's `node:smol-versions`. `node:smol-versions`
*   is the multi-ecosystem version helper exposed by socket-btm's smol Node
*   binary. It supports npm/maven/pypi/nuget/ gem version comparison + range
*   satisfies with internal C++ acceleration on the npm hot path. Returns
*   `undefined` on stock Node + non-Node runtimes. Result is cached across
*   calls.
*
* @internal — used by `src/versions.ts` to resolve smol-aware version
*   ops. Most callers should use the standard `versions` exports,
*   which already route through this when smol is present.
*/
let _smolVersions;
let _smolVersionsProbed = false;
/**
* Returns `node:smol-versions` when running on the smol Node binary, otherwise
* `undefined`. Result is cached across calls.
*/
/*@__NO_SIDE_EFFECTS__*/
function getSmolVersions() {
	if (!_smolVersionsProbed) {
		_smolVersionsProbed = true;
		/* c8 ignore start - smol Node binary only. */
		if (/* @__PURE__ */ require_node_module.isNodeBuiltin("node:smol-versions")) _smolVersions = require("node:smol-versions");
	}
	return _smolVersions;
}

//#endregion
exports.getSmolVersions = getSmolVersions;