import { EventEmitter } from 'node:events';
type Events = Record<string, any[]>;
/**
 * TypeScript version of events.once():
 *   https://nodejs.org/api/events.html#eventsonceemitter-name-options
 */
export declare function enhancedOnce<E extends Events = Events>(emmiter: EventEmitter<E>, eventName: keyof E & string, options?: any): Promise<any[]>;
export {};
//# sourceMappingURL=enhancedEvents.d.ts.map