export function makeEventBuffer(logger: any): {
    process(handler: any): () => void;
    emit(event: any, evData: any): boolean;
    isBuffering(): boolean;
    buffer: () => void;
    flush: () => boolean;
    createBufferedFunction(work: any): (...args: any[]) => Promise<any>;
    on: (...args: any[]) => EventEmitter<[never]>;
    off: (...args: any[]) => EventEmitter<[never]>;
    removeAllListeners: (...args: any[]) => EventEmitter<[never]>;
};
import EventEmitter from 'events';
