export interface OnViewEnter { uiOnViewEnter: () => any; } export interface OnViewLeave { uiOnViewLeave: () => any; }