import { Dayjs } from 'dayjs' ; export enum CalendarEventTypes { OPEN_YEAR_MONTH_PICKER = 'open-year-month-picker' , YEAR_MONTH_PICKER_CLOSED = 'year-month-picker-closed' , OPEN_TIME_PICKER = 'open-time-picker' , TIME_PICKER_CLOSED = 'time-picker-closed' , DATE_CHANGED = 'date-changed' , TIME_CHANGED = 'time-changed' , ASK_VALUE = 'ask-value' } export interface CalendarEventBus { fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , value ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , value ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , onData ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }