import { DeclaredVariables } from '@/services/data/tuples/factor-calculator-types' ; import { Topic } from '@/services/data/tuples/topic-types' ; export enum VariablesEventTypes { ASK_VARIABLES = 'ask-variables' , VARIABLE_CHANGED = 'variable-changed' } export interface VariablesEventBus { fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }