import DomainEvent from "./DomainEvent"; import DomainProjection from "./DomainProjection"; export default interface EventStore { append(event: DomainEvent): void; subscribe(projection: DomainProjection): void; replay(): Promise; }