import { Enum } from '@/services/data/tuples/enum-types' ; import { ReportFunnel } from '@/services/data/tuples/report-types' ; export enum FunnelEventTypes { VALUE_CHANGED = 'value-changed' , RANGE_CHANGED = 'range-changed' , ASK_ENUM = 'ask-enum' } export interface FunnelEventBus { fire ( type , funnel ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , funnel ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , funnel , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }