import { IDomainEvent } from '@vytches/ddd-contracts'; import { EventHandlerOptions } from './di-types'; export type { EventHandlerOptions }; /** * Decorator for marking classes and methods as event handlers with DI support. * Enables declarative event handler registration and auto-discovery. * * @param eventName Constructor of the event type to handle * @param options Handler configuration options * @returns Decorator function for classes or methods * @public * @stable * @since 0.22.0 */ export declare function EventHandler(eventName: new (...args: any[]) => T, options?: EventHandlerOptions): (target: any, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor) => any;