interface Opts { leading?: boolean; trailing?: boolean; } interface Extras { cancel: () => void; flush: () => R | undefined; } type CanReturnUndefined any> = (...args: Parameters) => ReturnType | undefined; declare const throttle: RT>(fn: F, time?: number | [number, ...number[]], options?: Opts) => CanReturnUndefined & Extras; export { throttle, }; export type { Extras as ThrottledFunctionExtras, Opts as ThrottleOptions, CanReturnUndefined as ThrottledFunction, }; //# sourceMappingURL=throttle.d.ts.map