/** Returns true when a filesystem path exists and is accessible. */ export declare function pathExists(path: string): Promise; /** Serializes JSON with stable formatting and writes atomically. */ export declare function writeJsonAtomic(path: string, data: unknown): Promise; /** * Writes text atomically by writing to a temporary file then renaming in-place. * Ensures readers never observe partial content. */ export declare function writeTextAtomic(path: string, content: string): Promise; /** Reads and parses JSON; returns null when file does not exist or is invalid. */ export declare function readJsonFile(path: string): Promise; //# sourceMappingURL=fs-utils.d.ts.map