/// import { EventEmitter } from 'events'; export declare class Composer extends EventEmitter { private buf; private headbuf; private headoffset; private state; private dataoffset; private buffoffset; private end; private length; private left; private hugePackMode; private hugePackModeFinished; private hugeBuf; constructor(); feed(data: Buffer): void; compose(data: string): Buffer; }