/// <reference types="react" />
export declare function useEventListener<K extends keyof HTMLElementEventMap, Element extends HTMLElement>(ref: React.RefObject<Element>, event: K, listener: (this: Element, event: HTMLElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions, { enabled }?: {
    enabled?: boolean | undefined;
}): void;
//# sourceMappingURL=useEventListener.d.ts.map