const requireNodeModule = (moduleName) => {
    if (typeof window !== 'undefined' && typeof window.require === 'function') {
        return (window.require)(moduleName);
    }
    throw new Error(`Node.js module "${moduleName}" is not available. Ensure nodeIntegration is enabled.`);
};
const mod = requireNodeModule('node:fs/promises');
export default mod;
export const access = mod.access;
export const appendFile = mod.appendFile;
export const chmod = mod.chmod;
export const chown = mod.chown;
export const copyFile = mod.copyFile;
export const lstat = mod.lstat;
export const mkdir = mod.mkdir;
export const mkdtemp = mod.mkdtemp;
export const opendir = mod.opendir;
export const readFile = mod.readFile;
export const readdir = mod.readdir;
export const readlink = mod.readlink;
export const rename = mod.rename;
export const rm = mod.rm;
export const rmdir = mod.rmdir;
export const stat = mod.stat;
export const symlink = mod.symlink;
export const truncate = mod.truncate;
export const unlink = mod.unlink;
export const utimes = mod.utimes;
export const writeFile = mod.writeFile;
