import { EventDispatcher, EventDispatcherBinding } from '../common/core/EventDispatcher'; import { ISubscribableAPI } from '../host/API'; export declare class EventSubscriber extends EventDispatcher { private component; constructor(component: ISubscribableAPI); on(event: string, callback: (...args: any[]) => void, once?: boolean): EventDispatcherBinding; on(event: string, callback: any, once?: boolean): EventDispatcherBinding; off(event: string | EventDispatcherBinding | Function): any; }