declare class EventBuffer extends Array { constructor(); isEmpty(): boolean; isFull(): boolean; flush(): any[]; } export default EventBuffer;