declare type EventListenerParams = {
    event: keyof WindowEventMap;
    handler: (e: MouseEvent) => void;
};
export declare const useEventListener: (el: HTMLElement | null, { event, handler }: EventListenerParams) => void;
export {};
