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

//#region src/env/term.ts
/**
* @file TERM environment variable getter. Exports `getTerm()`, returning the
*   `TERM` terminal type identifier (for example `xterm-256color`) or
*   `undefined` when unset.
*/
/**
* Returns the value of the TERM environment variable.
*
* @example
*   ;```typescript
*   import { getTerm } from '@socketsecurity/lib/env/term'
*
*   const term = getTerm()
*   // e.g. 'xterm-256color' or undefined
*   ```
*
* @returns The terminal type identifier, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getTerm() {
	return require_env_rewire.getEnvValue("TERM");
}

//#endregion
exports.getTerm = getTerm;