export interface Cancelable { clear(): void; } export declare function throttle any>(func: T, wait?: number): T & Cancelable;