import { ColumnDefs , DataPage , DragColumnState } from './types' ; export enum GridEventTypes { DATA_LOADED = 'data-loaded' , SELECTION_CHANGED = 'selection-changed' , REPAINT_SELECTION = 'repaint-selection' , FIX_COLUMN_CHANGED = 'fix-column-changed' , COMPRESS_COLUMN_WIDTH = 'compress-column-width' , DRAG_COLUMN_VISIBLE_CHANGED = 'drag-column-visible-changed' , ASK_DRAG_COLUMN_VISIBLE = 'determine-drag-column-visible' , DRAG_COLUMN_STATE_CHANGED = 'drag-column-state-changed' , SIMULATOR_SWITCHED = 'simulator-switched' , SIMULATE_DATA_UPLOADED = 'simulate-data-uploaded' } export interface GridEventBus { fire ( type , page , columnDefs ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , inFixTable , rowIndex , columnIndex ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , fix , columnCount ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , visible ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onVisibleGet ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , state ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , on ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , page ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }