import type { EventHandler, RefObject, SyntheticEvent } from 'react'; /** * Add event listeners to a native element * @param ref React ref object of native element * @param eventHandlers handler to attach to element, must match map (normally props of component) * @param eventMap Map of events where key is prop name and value is event name */ export declare const useElementEvents: >>>>(ref: RefObject, eventHandlers?: P, eventMap?: Record) => void; export default useElementEvents; //# sourceMappingURL=useElementEvents.d.ts.map