/** * File system utilities for Forge SDK */ import fs from 'fs-extra'; export declare function exists(filePath: string): Promise; export declare function isDirectory(filePath: string): Promise; export declare function isFile(filePath: string): Promise; export declare function ensureDir(dirPath: string): Promise; export declare function copyFile(src: string, dest: string, options?: { overwrite?: boolean; }): Promise; export declare function copyDir(src: string, dest: string, options?: { overwrite?: boolean; filter?: (src: string) => boolean; }): Promise; export declare function readFile(filePath: string): Promise; export declare function writeFile(filePath: string, content: string): Promise; export declare function readJson(filePath: string): Promise; export declare function writeJson(filePath: string, data: T, options?: { spaces?: number; }): Promise; export declare function remove(filePath: string): Promise; export declare function findFiles(pattern: string, options?: { cwd?: string; ignore?: string[]; }): Promise; export declare function resolvePath(...paths: string[]): string; export declare function joinPath(...paths: string[]): string; export declare function relativePath(from: string, to: string): string; export declare function dirname(filePath: string): string; export declare function basename(filePath: string, ext?: string): string; export declare function extname(filePath: string): string; export declare function readdir(dirPath: string): Promise; export declare function stat(filePath: string): Promise; export declare function rmdir(dirPath: string): Promise; export declare function isEmptyDir(dirPath: string): Promise; export declare function copyTemplate(templatePath: string, destPath: string, variables?: Record): Promise; //# sourceMappingURL=utils.d.ts.map