///
import { EventEmitter } from 'events';
import { EventNames, EventListenerParameters, AbortSignal } from './types';
export interface OnceOptions {
signal?: AbortSignal;
}
export default function once>(emitter: Emitter, name: Event, { signal }?: OnceOptions): Promise>;