import type ISnapshotStoreDBAL from "./SnapshotStoreDBAL"; import type EventSourcedAggregateRoot from "../../Domain/EventSourcedAggregateRoot"; export default class SnapshotStore { private readonly store; constructor(store: ISnapshotStoreDBAL); retrieve(aggregateRootId: string): Promise; snapshot(entity: T): Promise; }