export type TrailingThrottledFunction any> = { (...args: Parameters): void; cancel(): void; }; export declare function trailingThrottle any>(func: T, wait: number): TrailingThrottledFunction; export type LeadingThrottledFunction any> = { (...args: Parameters): void; }; export declare function leadingThrottle any>(func: T, wait: number): LeadingThrottledFunction;