import { TopicId } from '@/services/data/tuples/topic-types' ; export enum SpaceEventTypes { TOPIC_ADDED = 'topic-added' , TOPIC_REMOVED = 'topic-removed' } export interface SpaceEventBus { fire ( type , topicId ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , topicId ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }