import { Conditional } from '@/services/data/tuples/pipeline-super-types' ; export enum ConditionalEventTypes { TOP_TYPE_CHANGED = 'top-type-changed' , CONTENT_CHANGED = 'content-changed' } export interface ConditionalEventBus { fire ( type , conditional ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , conditional ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }