interface IOptions { leading?: boolean; trailing?: boolean; } export declare function throttle any>(func: T, wait: number, options: IOptions): { (...args: any[]): void; cancel(): void; }; export {};