export enum SearchTextEventTypes { HIDE_SEARCH = 'hide-search' , HIDE_POPUP = 'hide-popup' , FOCUS = 'focus' } export interface SearchTextEventBus { 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 ; }