interface IThrottleOpts { leading?: boolean; trailing?: boolean; maxWait?: number; } export declare function throttle(fn: T, wait: number, opts?: IThrottleOpts): T; export {};