import { EntityId } from "./EntityId"; export declare abstract class DomainEvent { static EVENT_NAME: string; readonly props: H; readonly eventId: EntityId; readonly occurredOn: Date; readonly eventName: string; constructor(props: H, eventId?: EntityId, occurredOn?: Date); toPrimitives(): H; } export type AnyDomainEvent = DomainEvent; export type DomainEventClass = typeof DomainEvent;