import type { Identifier } from './Identifier.ts'; import type { ISnapshotEvent } from './ISnapshotEvent.ts'; export interface IAggregateSnapshotStorage { getAggregateSnapshot(aggregateId: Identifier): Promise | undefined> | ISnapshotEvent | undefined; saveAggregateSnapshot(snapshotEvent: ISnapshotEvent): Promise | void; deleteAggregateSnapshot(snapshotEvent: ISnapshotEvent): Promise | void; } export declare const isAggregateSnapshotStorage: (obj: unknown) => obj is IAggregateSnapshotStorage;