import { Data } from '../atoms'; import type { AtomLikeOfOutput } from '../atoms'; /** * @see {@link dynamicThrottleTimeT}, {@link staticThrottleTimeT} */ export declare const throttleTimeT: (timer: AtomLikeOfOutput | number, target: AtomLikeOfOutput) => Data; interface IThrottleTimeT_ { (timer: AtomLikeOfOutput | number, target: AtomLikeOfOutput): Data; (timer: AtomLikeOfOutput | number): (target: AtomLikeOfOutput) => Data; } /** * @see {@link throttleTimeT} */ export declare const throttleTimeT_: IThrottleTimeT_; /** * the value target will only triggered when timer atom has at least one value * * @param timer Atom, which value is used as throttle time(in milliseconds) * @param target Atom, which value will be throttled with specified time * * @see {@link throttleTimeT} */ export declare const dynamicThrottleTimeT: (timer: AtomLikeOfOutput, target: AtomLikeOfOutput) => Data; interface IDynamicThrottleTimeT_ { (timer: AtomLikeOfOutput, target: AtomLikeOfOutput): Data; (timer: AtomLikeOfOutput): (target: AtomLikeOfOutput) => Data; } /** * @see {@link dynamicThrottleTimeT} */ export declare const dynamicThrottleTimeT_: IDynamicThrottleTimeT_; /** * @see {@link throttleTimeT} */ export declare const staticThrottleTimeT: (timer: number, target: AtomLikeOfOutput) => Data; interface IStaticThrottleTimeT_ { (timer: number, target: AtomLikeOfOutput): Data; (timer: number): (target: AtomLikeOfOutput) => Data; } /** * @see {@link staticThrottleTimeT} */ export declare const staticThrottleTimeT_: IStaticThrottleTimeT_; export {}; //# sourceMappingURL=throttle.taches.d.ts.map