/**
 * File system utilities to replace fs-extra with native Node.js fs
 * Provides cross-platform compatibility without ESM issues
 */
import fs from "fs/promises";
import { createReadStream, createWriteStream } from "fs";
/**
 * Ensure a directory exists, creating it if necessary
 */
export declare function ensureDir(dir: string): Promise<void>;
/**
 * Check if a path exists
 */
export declare function pathExists(filePath: string): Promise<boolean>;
/**
 * Copy a file or directory
 */
export declare function copy(src: string, dest: string): Promise<void>;
/**
 * Move a file or directory
 */
export declare function move(src: string, dest: string, options?: {
    overwrite?: boolean;
}): Promise<void>;
/**
 * Remove a file or directory
 */
export declare function remove(filePath: string): Promise<void>;
/**
 * Read a JSON file
 */
export declare function readJson(filePath: string): Promise<any>;
/**
 * Write a JSON file
 */
export declare function writeJson(filePath: string, data: any, options?: {
    spaces?: number;
}): Promise<void>;
/**
 * Empty a directory without removing it
 */
export declare function emptyDir(dir: string): Promise<void>;
export { fs };
export { createReadStream, createWriteStream };
export declare const readFile: typeof fs.readFile;
export declare const writeFile: typeof fs.writeFile;
export declare const readdir: typeof fs.readdir;
export declare const stat: typeof fs.stat;
export declare const unlink: typeof fs.unlink;
//# sourceMappingURL=fs-utils.d.ts.map