/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ export interface ThrottleOptions { leading: boolean; trailing: boolean; } /** * Debounces function based on options provided * @param func - function to throttle * @param wait - time in milliseconds * @param options - optional object param to control timing, ex. \{trailing: false, leading: true\} */ export declare function throttle(func: (...args: any[]) => any, wait?: number, options?: ThrottleOptions): any;