import { type RefObject } from 'react'; /** * Accepts the reference to an HTML Element and an event name then performs the necessary operations to listen to the event * when fired from that HTML Element. */ declare const useEvent: (target: RefObject, eventName: string, options?: AddEventListenerOptions) => import("./shared/types").CallbackSetter; export default useEvent;