import { Subject } from '@/services/data/tuples/subject-types' ; export enum ConnectedSpaceEventTypes { SUBJECT_ADDED = 'subject-added' , SUBJECT_REMOVED = 'subject-removed' } export interface ConnectedSpaceEventBus { fire ( type , subject ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , subject ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }