import { SubjectDataSetFilter , SubjectDataSetFilterJoint } from '@/services/data/tuples/subject-types' ; export enum FilterEventTypes { JOINT_TYPE_CHANGED = 'joint-type-changed' , FILTER_ADDED = 'expression-added' , FILTER_REMOVED = 'expression-removed' , CONTENT_CHANGED = 'expression-content-changed' } export interface FilterEventBus { fire ( type , joint ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , filter ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , filter ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , filter ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }