export interface UseElementEventProps { element?: HTMLElement | Window | Document | undefined; eventName?: Key; handler?: (event: Event) => void; capture?: boolean; once?: boolean; passive?: boolean; } export declare function useEvent(props: UseElementEventProps): { active: () => void; inactive: () => void; }; //# sourceMappingURL=index.d.ts.map