/**
 * 节流函数；当被调用 n 毫秒后才会执行，如果在这时间内又被调用则至少每隔 n 秒毫秒调用一次该函数
 *
 * @param {Function} callback 回调
 * @param {number} wait 多少秒毫
 * @param {object} options 参数{leading: 是否在之前执行, trailing: 是否在之后执行}
 * @return {Function}
 */
declare function throttle(callback: any, wait: any, options: any): {
    (): void;
    cancel: () => boolean;
};
export default throttle;
