import { MappingFactor } from '@/services/data/tuples/pipeline-stage-unit-action/write-topic-actions-types' ; export enum FactorsMappingEventTypes { MAPPING_ADDED = 'mapping-added' , MAPPING_REMOVED = 'mapping-removed' , MAPPING_CHANGED = 'mapping-changed' } export interface FactorsMappingEventBus { fire ( type , mapping ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , mapping ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , mapping ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }