/**
 * Stream Module (Node.js entry)
 *
 * Public entrypoint for stream utilities and classes.
 *
 * Notes:
 * - This file is intentionally export-only (tree-shaking friendly).
 * - Browser builds should import from `@stream/index.browser`.
 *
 * @example
 * ```ts
 * import { pipeline, createTransform, createCollector } from "./index.js";
 *
 * const upper = createTransform<Uint8Array, Uint8Array>(chunk => chunk);
 * const out = createCollector<Uint8Array>();
 * await pipeline(source, upper, out);
 * ```
 */
export { Readable, Writable, Transform, Duplex, PassThrough, Collector, PullStream, BufferedStream, StringChunk, BufferChunk, createReadable, createWritable, createTransform, createCollector, createPassThrough, createPullStream, createBufferedStream, createReadableFromArray, createReadableFromAsyncIterable, createReadableFromGenerator, createReadableFromPromise, createDuplex, createEmptyReadable, createNullWritable, pipeline, finished, streamToPromise, streamToUint8Array, streamToBuffer, streamToString, drainStream, copyStream, addAbortSignal, compose, finishedAll, once, promisify, isReadable, isWritable, isTransform, isDuplex, isStream, isDestroyed, isDisturbed, isErrored, getDefaultHighWaterMark, setDefaultHighWaterMark, duplexPair, normalizeWritable as Writeable, consumers, promises } from "./streams.js";
export { EventEmitter } from "./event-emitter.js";
export { ChunkedBuilder, TransactionalChunkedBuilder } from "./chunked-builder.js";
export { textEncoder, textDecoder, stringToUint8Array, uint8ArrayToString, uint8ArrayEquals, uint8ArrayIndexOf, uint8ArraySlice, toUint8Array, bufferToString, concatUint8Arrays } from "./shared.js";
export { collect, text, json, bytes, fromString, fromJSON, fromBytes, transform, filter } from "./utils.js";
