/**
 * @file NPM environment variable getters. Provides access to NPM and package
 *   manager environment variables.
 */
/**
 * Npm_config_registry environment variable. NPM registry URL configured by
 * package managers.
 *
 * @example
 *   ;```typescript
 *   import { getNpmConfigRegistry } from '@socketsecurity/lib/env/npm'
 *
 *   const registry = getNpmConfigRegistry()
 *   // e.g. 'https://registry.npmjs.org/' or undefined
 *   ```
 *
 * @returns The configured NPM registry URL, or `undefined` if not set
 */
export declare function getNpmConfigRegistry(): string | undefined;
/**
 * Npm_config_user_agent environment variable. User agent string set by
 * npm/pnpm/yarn package managers.
 *
 * @example
 *   ;```typescript
 *   import { getNpmConfigUserAgent } from '@socketsecurity/lib/env/npm'
 *
 *   const ua = getNpmConfigUserAgent()
 *   // e.g. 'pnpm/9.0.0 npm/? node/v20.0.0 darwin arm64'
 *   ```
 *
 * @returns The package manager user agent string, or `undefined` if not set
 */
export declare function getNpmConfigUserAgent(): string | undefined;
/**
 * Npm_lifecycle_event environment variable. The name of the npm lifecycle event
 * that's currently running.
 *
 * @example
 *   ;```typescript
 *   import { getNpmLifecycleEvent } from '@socketsecurity/lib/env/npm'
 *
 *   const event = getNpmLifecycleEvent()
 *   // e.g. 'install', 'postinstall', or 'test'
 *   ```
 *
 * @returns The current lifecycle event name, or `undefined` if not set
 */
export declare function getNpmLifecycleEvent(): string | undefined;
/**
 * NPM_REGISTRY environment variable. NPM registry URL override.
 *
 * @example
 *   ;```typescript
 *   import { getNpmRegistry } from '@socketsecurity/lib/env/npm'
 *
 *   const registry = getNpmRegistry()
 *   // e.g. 'https://registry.npmjs.org/' or undefined
 *   ```
 *
 * @returns The NPM registry URL override, or `undefined` if not set
 */
export declare function getNpmRegistry(): string | undefined;
/**
 * NPM_TOKEN environment variable. Authentication token for NPM registry access.
 *
 * @example
 *   ;```typescript
 *   import { getNpmToken } from '@socketsecurity/lib/env/npm'
 *
 *   const token = getNpmToken()
 *   // e.g. 'npm_abc123...' or undefined
 *   ```
 *
 * @returns The NPM auth token, or `undefined` if not set
 */
export declare function getNpmToken(): string | undefined;
