import { Data } from '../atoms'; import type { AtomLikeOfOutput } from '../atoms'; /** * Returned atom will emits specified number of target's value as an array. * * @see {@link withDynamicHistoryT}, {@link withStaticHistoryT} */ export declare const withHistoryT: (number: AtomLikeOfOutput | number, target: AtomLikeOfOutput) => Data; interface IWithHistoryT_ { (number: AtomLikeOfOutput | number, target: AtomLikeOfOutput): Data; (number: AtomLikeOfOutput | number): (target: AtomLikeOfOutput) => Data; } /** * @see {@link withHistoryT} */ export declare const withHistoryT_: IWithHistoryT_; /** * @see {@link withHistoryT} */ export declare const withDynamicHistoryT: (number: AtomLikeOfOutput, target: AtomLikeOfOutput) => Data; interface IWithDynamicHistoryT_ { (number: AtomLikeOfOutput, target: AtomLikeOfOutput): Data; (number: AtomLikeOfOutput): (target: AtomLikeOfOutput) => Data; } /** * @see {@link withDynamicHistoryT} */ export declare const withDynamicHistoryT_: IWithDynamicHistoryT_; /** * @see {@link withHistoryT} */ export declare const withStaticHistoryT: (number: number, target: AtomLikeOfOutput) => Data; interface IWithStaticHistoryT_ { (number: number, target: AtomLikeOfOutput): Data; (number: number): (target: AtomLikeOfOutput) => Data; } /** * @see {@link withStaticHistoryT} */ export declare const withStaticHistoryT_: IWithStaticHistoryT_; declare type IPairwiseT = (target: AtomLikeOfOutput) => Data; /** * Returned atom will emits the previous and current value of target atom as an array. * * @see {@link withHistoryT}, {@link truthyPairwiseT} */ export declare const pairwiseT: IPairwiseT; /** * @see {@link pairwiseT} */ export declare const truthyPairwiseT: IPairwiseT; export {}; //# sourceMappingURL=withHistory.taches.d.ts.map