export declare class CTYUE { /** * 防抖函数 * @param callback * @param wait * @returns * * 使用示例 * window.onscroll = debounce(function() { * console.log("防抖滚动事件触发了"); * }, 200); */ static debounceT: any; static debounce(callback: Function, wait?: number): void; /** * 节流函数 * @param callback * @param wait * @returns * * 使用示例 * window.onscroll = throttle(function() { * console.log("节流窗口大小改变事件触发了"); * }, 200); */ static throttleT: number; static throttle(callback: Function, wait?: number): void; }