import type { EventHandler, EventTarget } from './types.ts';
/**
 * Adds an event handler function to any kind of object capable of
 * handling events. This includes DOM `EventTarget`s and Node `EventEmitter`s.
 */
export declare function addEventHandler(target: EventTarget<any>, event: string | symbol, handler: EventHandler<any>, flags?: {
    once?: boolean;
    signal?: AbortSignal;
}): void;
//# sourceMappingURL=handler.d.ts.map