import { Observable, Observer, Subscription } from 'rxjs/Rx';
/**
 * An utily class to manage RX events
 */
export declare class EventManager {
    observable: Observable<any>;
    observer: Observer<any>;
    constructor();
    /**
     * Method to broadcast the event to observer
     */
    broadcast(event: any): void;
    /**
     * Method to subscribe to an event with callback
     */
    subscribe(eventName: any, callback: any): Subscription;
    /**
     * Method to unsubscribe the subscribion
     */
    destroy(subscriber: Subscription): void;
}
