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 |
\ | No newline at end of file |