/** * Bundler utility functions for configuration merging and path handling */ /** * Utility functions for bundler adapters */ export declare class BundlerUtils { /** * Merge multiple bundler configurations with deep merging */ static mergeConfigs(...configs: any[]): any; /** * Deep merge two objects recursively */ static deepMerge(target: any, source: any): any; /** * Check if a value is a plain object */ private static isObject; /** * Normalize module path for cross-platform compatibility */ static normalizePath(path: string): string; /** * Calculate relative path between two absolute paths */ static getRelativePath(from: string, to: string): string; /** * Resolve module specifier with alias support */ static resolveModuleSpecifier(specifier: string, baseUrl: string, alias?: Record): string; /** * Join URL paths safely */ static joinPaths(...parts: string[]): string; /** * Extract directory path from a file path */ static getDirectoryPath(filePath: string): string; /** * Extract filename from a file path */ static getFileName(filePath: string): string; /** * Get file extension from a file path */ static getFileExtension(filePath: string): string; /** * Remove file extension from a file path */ static removeFileExtension(filePath: string): string; /** * Check if a path is absolute */ static isAbsolutePath(path: string): boolean; /** * Convert relative path to absolute based on a base path */ static toAbsolutePath(relativePath: string, basePath: string): string; } //# sourceMappingURL=bundler-utils.d.ts.map