import { GameState } from '../../../models/decktracker/game-state' ; import { GameStateEvent } from '../../../models/decktracker/game-state-event' ; import { GameEvent } from '../../../models/game-event' ; import { Preferences } from '../../../models/preferences' ; export interface EventParser { applies ( gameEvent , state ? , prefs ? ) : boolean ; parse ( currentState , gameEvent , additionalInfo ? ) : Promise < GameState > ; event ( ) : string ; }