import { SharedValue } from 'react-native-reanimated'; import { PathObject } from '../utils'; import { AnimationType } from '../types'; export type endPointAnimationFunction = ({ currentYPosition, newYPosition, }: { currentYPosition: SharedValue; newYPosition: number; }) => void; export type startAnimationFunction = ({ action, }: { action: () => void; }) => void; export type animationHookResult = { derivedPathString?: SharedValue; startAnimation?: startAnimationFunction; endPointAnimation?: endPointAnimationFunction; }; export type animationHook = (props: { path?: PathObject; duration?: number; enabled?: boolean; }) => animationHookResult; declare const useChartAnimation: ({ duration, animationType, path, }: { duration?: number | undefined; animationType?: AnimationType | undefined; path?: PathObject | undefined; }) => animationHookResult; export default useChartAnimation; //# sourceMappingURL=animations.d.ts.map