/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ /// import debounce from 'lodash/debounce'; export declare type WrapThrottleOptions = boolean | ({ wait?: number; } & Parameters[2]); export default function wrapThrottle(fn: (...args: any) => void, options?: WrapThrottleOptions, isDebounce?: boolean): (...args: any) => void;