1 | /// <reference types="node" />
|
2 | import { Duplex } from 'stream';
|
3 | import Debug from './debug';
|
4 | import Message from './message';
|
5 | declare class OutgoingMessageStream extends Duplex {
|
6 | packetSize: number;
|
7 | debug: Debug;
|
8 | bl: any;
|
9 | currentMessage: Message | undefined;
|
10 | constructor(debug: Debug, { packetSize }: {
|
11 | packetSize: number;
|
12 | });
|
13 | _write(message: Message, _encoding: string, callback: (err?: Error | null) => void): void;
|
14 | _read(_size: number): void;
|
15 | }
|
16 | export default OutgoingMessageStream;
|