import { EventBus } from './event-bus'; import { AggregateRoot } from './aggregate-root'; import { IEvent } from './interfaces'; import * as i0 from "@angular/core"; export interface Constructor { new (...args: any[]): T; } export declare class EventPublisher { private readonly eventBus; constructor(eventBus: EventBus); mergeClassContext>>(metatype: T): T; mergeObjectContext>(object: T): T; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration>; }