import { DependencyList } from 'react'; declare type IWindowEvent = 'mousemove' | 'mouseup' | 'mousedown'; declare type ICallback = (...args: any[]) => any; export declare const useWindowEvent: (type: IWindowEvent, cb: ICallback, deps?: DependencyList) => { apply: () => void; remove: () => void; }; export {};