/** * Prevent too frequent function calling in time limit * * @param {Function} func - function to execute * @param {number} limit - time interval in which function should be called only once * @returns {Function} - throttled function */ export declare const throttle: (func: Function, limit: number) => { (...args: Array): void; cancel(): void; }; export default throttle;