import { TopicsData } from '../state/types' ; import { PipelineRuntimeContext } from './types' ; export enum RunsEventTypes { RUN_PIPELINE = 'run-pipeline' , ASK_RUNTIME_DATA = 'ask-runtime-data' } export interface RunsEventBus { fire ( type , context ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }