import { ApiBase } from './ApiBase'; import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable'; import { EventApi } from '../EventApi'; import { EmitterCallback } from '../../Utilities/Emitter'; import { EventInternalApi } from '../Internal/EventInternalApi'; export declare class EventApiImpl extends ApiBase implements EventApi { private emitter; internalApi: EventInternalApi; constructor(_adaptable: IAdaptable); destroy(): void; on: (eventName: string, callback: EmitterCallback) => (() => void); off: (eventName: string, callback: EmitterCallback) => void; emit: (eventName: string, data?: any) => Promise; emitSync: (eventName: string, data?: any) => any; }