/** * Cross-platform utility functions for file system operations */ /** * Check if a file path is within a specific directory name * @param filePath - The file path to check * @param dirName - The directory name to look for (e.g., "theme") * @returns true if the file path contains the directory name */ export declare function isInDirectory(filePath: string, dirName: string): boolean; /** * Cross-platform directory deletion using Node.js native fs.rm() * Falls back to manual recursive deletion for older Node versions * @param dirPath - The directory path to delete * @param options - Options for deletion (verbose, etc.) */ export declare function deleteDirectory(dirPath: string, options?: { verbose?: boolean; }): Promise; /** * Generate cross-platform clean scripts for package.json * Uses rimraf for better Windows compatibility */ export declare function generateCleanScripts(): Record; /** * Check if running on Windows platform */ export declare function isWindows(): boolean; /** * Get platform-specific shell command executor */ export declare function getShellPrefix(): string; //# sourceMappingURL=platform-utils.d.ts.map