/**
 * @fileoverview ESM utility functions for safe environment detection
 *
 * This module provides safe utilities for working with ESM modules without
 * using eval() or other potentially unsafe patterns.
 */
/**
 * Safely get the current directory name in both CommonJS and ESM environments
 * @param importMetaUrl - Optional import.meta.url for ESM environments
 * @returns Current directory path
 */
export declare function getCurrentDir(importMetaUrl?: string): string;
//# sourceMappingURL=esm-utils.d.ts.map