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

//#region src/constants/typescript.ts
/**
* @file TypeScript availability detection. Exports small getters that probe
*   whether the `typescript` package's type definitions and lib files are
*   resolvable from the current project.
*/
/**
* Check whether TypeScript's `lib/` directory is resolvable from the current
* project by probing `typescript/lib`.
*
* @returns `true` when the `typescript` package's libs can be resolved.
*/
function getTsLibsAvailable() {
	try {
		require.resolve("typescript/lib");
		return true;
	} catch {
		return false;
	}
}
function getTsTypesAvailable() {
	try {
		require.resolve("typescript/lib/lib.d.ts");
		return true;
	} catch {
		return false;
	}
	/* c8 ignore stop */
}

//#endregion
exports.getTsLibsAvailable = getTsLibsAvailable;
exports.getTsTypesAvailable = getTsTypesAvailable;