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:stream/web');
export default mod;
export const ReadableStream = mod.ReadableStream;
export const TransformStream = mod.TransformStream;
export const WritableStream = mod.WritableStream;
export const ByteLengthQueuingStrategy = mod.ByteLengthQueuingStrategy;
export const CountQueuingStrategy = mod.CountQueuingStrategy;
