import { BaseEvent, BaseEventDto, EventParams } from '@hg-ts/events'; import type { DtoSerializable, Identifiable } from '../types.js'; export declare const STORED_PROPERTY: unique symbol; export type DomainEventDto = BaseEventDto & { id: string; entityName: string; entityId: string; }; export type DomainEventParams
= EventParams & { id?: string; entityName: string; entityId: string; [STORED_PROPERTY]?: true; }; export declare class DomainEvent extends BaseEvent implements Identifiable, DtoSerializable