export declare type ICallbackFunction = (...any: any[]) => any; export interface ICallbackOptions { leading?: boolean; trailing?: boolean; } export declare type IThrottleFunction = (callback: T, wait: number, options?: ICallbackOptions) => T; export declare const throttle: IThrottleFunction;