import { GameEvent } from '../../../../../models/game-event' ; import { RealTimeStatsState } from '../real-time-stats' ; export interface EventParser { applies ( gameEvent , currentState ) : boolean ; parse ( gameEvent , currentState ) : RealTimeStatsState | PromiseLike < RealTimeStatsState > ; name ( ) : string ; }