import { Writable } from 'stream';
export default class Parser extends Writable {
    maxPacketSize: number;
    buf: Buffer | null;
    constructor(options: any, maxPacketSize: number);
    _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void): void;
}
