import { EventBusConfiguration } from './EventBusConfiguration'; import { IEventBusConfiguration } from './IEventBusConfiguration'; export declare class EventBus { constructor(); static readonly namespaces: string[]; private static self; private configurations; private readonly nodeId; private inc; private channels; static $(): EventBus; static register(o: any): Promise; static unregister(o: any): Promise; private static postOnChannel; static post(o: any, options?: any): Promise; static postAndForget(o: any, options?: any): Promise; addConfiguration(cfg: IEventBusConfiguration): EventBusConfiguration; private getConfiguration; private getOrCreateChannel; shutdown(): Promise; }