export declare function useWindowEventListener(type: K, listener: (ev: WindowEventMap[K]) => void | EventListenerObject, options?: boolean | AddEventListenerOptions): void;