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

//#region src/env/xdg.ts
/**
* @file XDG Base Directory Specification environment variable getters. Provides
*   access to XDG user directories on Unix systems.
*/
/**
* XDG_CACHE_HOME environment variable. XDG Base Directory specification cache
* directory.
*
* @example
*   ;```typescript
*   import { getXdgCacheHome } from '@socketsecurity/lib/env/xdg'
*
*   const cacheDir = getXdgCacheHome()
*   // e.g. '/tmp/.cache' or undefined
*   ```
*
* @returns The XDG cache directory path, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getXdgCacheHome() {
	return require_env_rewire.getEnvValue("XDG_CACHE_HOME");
}
/**
* XDG_CONFIG_HOME environment variable. XDG Base Directory specification config
* directory.
*
* @example
*   ;```typescript
*   import { getXdgConfigHome } from '@socketsecurity/lib/env/xdg'
*
*   const configDir = getXdgConfigHome()
*   // e.g. '/tmp/.config' or undefined
*   ```
*
* @returns The XDG config directory path, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getXdgConfigHome() {
	return require_env_rewire.getEnvValue("XDG_CONFIG_HOME");
}
/**
* XDG_DATA_HOME environment variable. Points to the user's data directory on
* Unix systems.
*
* @example
*   ;```typescript
*   import { getXdgDataHome } from '@socketsecurity/lib/env/xdg'
*
*   const dataDir = getXdgDataHome()
*   // e.g. '/tmp/.local/share' or undefined
*   ```
*
* @returns The XDG data directory path, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getXdgDataHome() {
	return require_env_rewire.getEnvValue("XDG_DATA_HOME");
}

//#endregion
exports.getXdgCacheHome = getXdgCacheHome;
exports.getXdgConfigHome = getXdgConfigHome;
exports.getXdgDataHome = getXdgDataHome;