import { Subscription } from 'rxjs'; export declare class EventBusService { private subject; on(routingKey: string, callback: any): Subscription; emit(event: Event): void; } export declare class Event { routingKey: string; payload?: T | undefined; constructor(routingKey: string, payload?: T | undefined); }