declare function throttle(func: (...args: T[]) => S, wait: number, options?: { leading?: boolean; trailing?: boolean; }): (...args: T[]) => S; export default throttle;