import type { AtomLike } from '../atoms'; export declare const tweenAtom: (upstreamAtom: AtomLike, downstreamAtom: AtomLike) => AtomLike[]; export declare function tweenAtoms(atoms: [...T]): AtomLike[]; export declare function tweenAtoms(...atoms: [...T]): AtomLike[]; /** * Automatically pipe two atom * * - if they are in different type, use normal pipe logic * - if they are in same type, create a tween atom between them, * then use normal pipe logic to three atom * - for Data atom, tween atom is the type of Mutation (asIs Mutation) * - for Mutation atom, tween atom is the type of Data * * @param upstreamAtom Atom, i.e. Data | Mutation * @param downstreamAtom Atom, i.e. Data | Mutation * @return downstreamAtom */ export declare function binaryTweenPipeAtom(atoms: [...T]): AtomLike[]; export declare function binaryTweenPipeAtom(...atoms: [...T]): AtomLike[]; /** * Automatically compose two atom * * - if they are in different type, use normal compose logic * - if they are in same type, create a tween atom between them, * then use normal compose logic to three atom * - for Data atom, tween atom is the type of Mutation (asIs Mutation) * - for Mutation atom, tween atom is the type of Data * * @param downstreamAtom Atom, i.e. Data | Mutation * @param upstreamAtom Atom, i.e. Data | Mutation * @return downstreamAtom */ export declare function binaryTweenComposeAtom(atoms: [...T]): AtomLike[]; export declare function binaryTweenComposeAtom(...atoms: [...T]): AtomLike[]; /** * 将 n 个 Atom 顺序进行补间连接 */ export declare function nAryTweenPipeAtom(atoms: [...T]): AtomLike[]; export declare function nAryTweenPipeAtom(...atoms: [...T]): AtomLike[]; export declare const tweenPipeAtom: typeof nAryTweenPipeAtom; /** * 将 n 个 Atom 逆序进行补间连接 */ export declare function nAryTweenComposeAtom(atoms: [...T]): AtomLike[]; export declare function nAryTweenComposeAtom(...atoms: [...T]): AtomLike[]; export declare const tweenComposeAtom: typeof nAryTweenComposeAtom; //# sourceMappingURL=tween-link.helpers.d.ts.map