UNPKG

pose-core

Version:

Factory for Pose animation state machines

7 lines (6 loc) 625 B
import { Pose, PoseMap, PoserConfig, SelectValueToRead } from '../types'; export declare const getPoseValues: <A, TD>({ transition, flip, delay, delayChildren, staggerChildren, staggerDirection, afterChildren, beforeChildren, preTransition, applyAtStart, applyAtEnd, ...props }: Pose<A, TD>) => Pose<A, TD>; export declare const selectPoses: <V, A, TD>({ label, props, values, parentValues, ancestorValues, onChange, passive, initialPose, ...poses }: PoserConfig<V>) => PoseMap<A, TD>; export declare const selectAllValues: <V>(values: Map<string, V>, selectValue: SelectValueToRead<V>) => { [key: string]: any; };