import { Inspection } from '@/services/data/tuples/inspection-types' ; import { ChartUsage } from './types' ; export enum InspectionChartsEventTypes { TOGGLE_PANEL = 'toggle-panel' , TOGGLE_CHART = 'toggle-chart' , ASK_USAGE_USED = 'ask-usage-used' } export interface InspectionChartsEventBus { fire ( type , visible ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , inspection , usage , visible ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , usage , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }