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:timers');
export default mod;
export const setTimeout = mod.setTimeout;
export const clearTimeout = mod.clearTimeout;
export const setInterval = mod.setInterval;
export const clearInterval = mod.clearInterval;
export const setImmediate = mod.setImmediate;
export const clearImmediate = mod.clearImmediate;
