import { Event, EventHandler, IEventHub } from '../../events';

export declare class EventHub implements IEventHub {
    private mappings;
    onDispatch: (event: Event) => void;
    dispatch(event: Event): Promise<void>;
    subscribe(eventType: string, handler: EventHandler<Event>): () => void;
}
