import { IEvent } from '@irontitan/tardis' ; export interface IEventEntity { id : any ; state : any ; events : IEvent < any > [ ] ; persistedEvents : IEvent < any > [ ] ; pendingEvents : IEvent < any > [ ] ; param { IEvent < any > [ ] } events returns { Entity } pushNewEvents ( events ) : any ; param { IEvent < any > [ ] } events returns { Entity } setPersistedEvents ( events ) : any ; returns { Entity } confirmEvents ( ) : any ; }