export declare function throttle void>(wait: number, fn: T): T; export declare const hasWindow: boolean;