import type { IDomainEventBus } from '../../application/ports/event-bus.port'; import type { DomainEvent } from '../../domain/events/domain-event'; export declare class InMemoryEventBus implements IDomainEventBus { private readonly handlers; subscribe(eventType: string, handler: (event: DomainEvent) => Promise): void; publish(event: DomainEvent): Promise; handlerCount(eventType: string): number; clear(): void; }