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

//#region src/env/windows.ts
/**
* @file Windows environment variable getters. Provides access to
*   Windows-specific user directory paths.
*/
/**
* APPDATA environment variable. Points to the Application Data directory on
* Windows.
*
* @example
*   ;```typescript
*   import { getAppdata } from '@socketsecurity/lib/env/windows'
*
*   const appdata = getAppdata()
*   // e.g. 'C:\\Users\\Public\\AppData\\Roaming' or undefined
*   ```
*
* @returns The Windows AppData roaming directory, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getAppdata() {
	return require_env_rewire.getEnvValue("APPDATA");
}
/**
* COMSPEC environment variable. Points to the Windows command processor
* (typically cmd.exe).
*
* @example
*   ;```typescript
*   import { getComspec } from '@socketsecurity/lib/env/windows'
*
*   const comspec = getComspec()
*   // e.g. 'C:\\Windows\\system32\\cmd.exe' or undefined
*   ```
*
* @returns The path to the command processor, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getComspec() {
	return require_env_rewire.getEnvValue("COMSPEC");
}
/**
* LOCALAPPDATA environment variable. Points to the Local Application Data
* directory on Windows.
*
* @example
*   ;```typescript
*   import { getLocalappdata } from '@socketsecurity/lib/env/windows'
*
*   const localAppdata = getLocalappdata()
*   // e.g. 'C:\\Users\\Public\\AppData\\Local' or undefined
*   ```
*
* @returns The Windows local AppData directory, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getLocalappdata() {
	return require_env_rewire.getEnvValue("LOCALAPPDATA");
}
/**
* USERPROFILE environment variable. Windows user home directory path.
*
* @example
*   ;```typescript
*   import { getUserprofile } from '@socketsecurity/lib/env/windows'
*
*   const userprofile = getUserprofile()
*   // e.g. 'C:\\Users\\Public' or undefined
*   ```
*
* @returns The Windows user profile directory, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getUserprofile() {
	return require_env_rewire.getEnvValue("USERPROFILE");
}

//#endregion
exports.getAppdata = getAppdata;
exports.getComspec = getComspec;
exports.getLocalappdata = getLocalappdata;
exports.getUserprofile = getUserprofile;