import { Transform, type TransformOptions } from 'node:stream'; /** * Escapes dots in the beginning of lines. Ends the stream with . * Also makes sure that only sequences are used for linebreaks * * @param options Stream options */ export default class DataStream extends Transform { options: TransformOptions; inByteCount: number; outByteCount: number; lastByte: number | false; constructor(options?: TransformOptions); }