export interface IEventService {
    subscribe<T>(event: string, callback: (data: T) => void): void;
    publish<T>(event: string, data?: T): void;
    removeAllListeners: (event: string) => void;
}
export declare class EventService implements IEventService {
    private eventEmmitter;
    constructor();
    subscribe: <T>(event: string, callback: (data: T) => void) => void;
    publish: <T>(event: string, data?: T) => void;
    removeAllListeners: (event: string) => void;
}
