export default interface EventStore { append(event: DomainEvent): void; subscribe(projection: DomainProjection): void; replay(): Promise; }