import { DataPanelLayouts , DataPanelResize , DataPanels } from './types' ; export enum StatisticsEventTypes { RESIZE_PANEL = 'resize-panel' , PANEL_RESIZED = 'panel-resized' } export interface StatisticsEventBus { fire ( type , which , how ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , layouts ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }