import { GameEvent } from '../../../models/game-event' ; import { MainWindowState } from '../../../models/mainwindow/main-window-state' ; import { MercenariesBattleState } from '../../../models/mercenaries/mercenaries-battle-state' ; export interface MercenariesParser { eventType ( ) : string ; applies ( battleState ) : boolean ; parse ( battleState , event , mainWindowState ) : MercenariesBattleState | PromiseLike < MercenariesBattleState > ; }