import { DateEnv } from './datelib/env' ; import { BaseOptionsRefined , CalendarListeners } from './options' ; import { PluginHooks } from './plugin-system-struct' ; import { Emitter } from './common/Emitter' ; import { Action } from './reducers/Action' ; import { CalendarApi } from './CalendarApi' ; import { CalendarData } from './reducers/data-types' ; export interface CalendarContext { dateEnv : DateEnv ; options : BaseOptionsRefined ; pluginHooks : PluginHooks ; emitter : Emitter < CalendarListeners > ; dispatch ( action ) : void ; getCurrentData ( ) : CalendarData ; calendarApi : CalendarApi ; }