import { DiscoveryService } from '@golevelup/nestjs-discovery';
import { OnModuleInit } from '@nestjs/common';
import { EventEmitter2, ConstructorOptions } from 'eventemitter2';
import { Registry } from './types';
type Options = {
    emitter?: ConstructorOptions;
    contract: Registry<any>;
};
declare const EventEmitterModule_base: import("@golevelup/nestjs-modules").IConfigurableDynamicRootModule<EventEmitterModule, Options>;
export declare class EventEmitterModule extends EventEmitterModule_base implements OnModuleInit {
    private readonly discover;
    private readonly options;
    private readonly emitter;
    private readonly logger;
    constructor(discover: DiscoveryService, options: Options, emitter: EventEmitter2);
    onModuleInit(): Promise<void>;
    private ensureEachEventHasListener;
}
export {};
