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:path');
export default mod;
export const basename = mod.basename;
export const dirname = mod.dirname;
export const extname = mod.extname;
export const format = mod.format;
export const isAbsolute = mod.isAbsolute;
export const join = mod.join;
export const normalize = mod.normalize;
export const parse = mod.parse;
export const relative = mod.relative;
export const resolve = mod.resolve;
export const sep = mod.sep;
export const delimiter = mod.delimiter;
