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 { readonly id: string; readonly entityName: string; readonly entityId: string; [STORED_PROPERTY]: boolean; constructor(params: DomainEventParams); toDto(): DomainEventDto; static generateId(): string; } //# sourceMappingURL=domain.event.d.ts.map