/** * Ensure that the given `callback` function can only be called every `ms` milliseconds * * @param callback - The function to throttle * @param ms - Number of milliseconds before the function can be called again * @typeParam T - The inferred type of the given callback function that need to be throttled * @returns The throttled function */ export declare function throttle void>(callback: T, ms?: number): T; export default throttle;