/// <reference types="node" />
import { EventEmitter } from 'events';
export type EventHandler = () => void;
export declare function createEventHandler(emitter: EventEmitter, event: string, fn: (...args: any[]) => void | Promise<void>): EventHandler;
//# sourceMappingURL=events.d.ts.map