ff304c36430e7bfda9bc3128e5efb7d22cae3676c38c68b90386b243ccc91bab3e53bfd60852f80e43c8896879ddada12bbc758594b2d3ab66ffafe0ef595e 557 B

12345678910111213141516
  1. /// <reference types="node" />
  2. import { Handler, ParserOptions } from "./Parser";
  3. import { Writable } from "stream";
  4. /**
  5. * WritableStream makes the `Parser` interface available as a NodeJS stream.
  6. *
  7. * @see Parser
  8. */
  9. export declare class WritableStream extends Writable {
  10. private readonly _parser;
  11. private readonly _decoder;
  12. constructor(cbs: Partial<Handler>, options?: ParserOptions);
  13. _write(chunk: string | Buffer, encoding: string, cb: () => void): void;
  14. _final(cb: () => void): void;
  15. }
  16. //# sourceMappingURL=WritableStream.d.ts.map