import { IDomainEvent } from '.'; import { DomainAggregateRoot } from '../aggregate-root'; export declare class DomainEvents { private static handlersMap; private static markedAggregates; static markAggregateForDispatch(aggregate: DomainAggregateRoot): void; private static dispatchAggregateEvents; private static removeAggregateFromMarkedDispatchList; private static findMarkedAggregateByID; static dispatchEventsForAggregate(id: string): void; static register(callback: (event: IDomainEvent) => void, eventClassName: string): void; static clearHandlers(): void; static clearMarkedAggregates(): void; private static dispatch; }