import { Observable, Subscription } from 'rxjs'; export interface IEventService { publish(event: string, eventObject?: any): any; subscribe(event: string): Observable; subscribe(event: string, callback: (value: any) => void, error: (error?: any) => void, complete?: () => void): Subscription; } export declare class RxEventBusService implements IEventService { private events; constructor(); publish(event: string, eventObject?: any): void; subscribe(event: string): Observable; subscribe(event: string, callback: (value: any) => void, error: (error: any) => void, complete: () => void): Subscription; }