import { DQCCacheData } from './types' ; export enum DataQualityCacheEventTypes { DATA_LOADED = 'data-loaded' , ASK_DATA_LOADED = 'ask-data-loaded' , ASK_DATA = 'ask-data' , ASK_RELOAD = 'ask-reload' } export interface DataQualityCacheEventBus { fire ( type , data ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onDataLoadedGet ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onReloaded ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }