/** * An emitter which queue all events and then process them at the * end of the event loop. */ import { Emitter, EmitterOptions } from './emitter'; export declare class MicrotaskEmitter extends Emitter { private _queuedEvents; private readonly _mergeFn?; constructor(options?: EmitterOptions & { merge?: (input: T[]) => T; }); emit(event: T): boolean; }