import { type CallbackSetter } from './shared/types'; /** * Accepts an event name then returns a callback setter for a function to be performed when the event triggers. */ declare const useGlobalEvent: (eventName: keyof WindowEventMap, opts?: AddEventListenerOptions) => CallbackSetter; export default useGlobalEvent;