interface Opts { leading?: boolean; trailing?: boolean; } interface Extras { cancel: () => void; flush: () => void; } declare 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 ThrottleExtras, Opts as ThrottleOptions, }; //# sourceMappingURL=throttle.d.ts.map