import React from 'react'; import { Style } from '../../type'; import { AnimationProps as AnimationPropsDefault } from './default'; export declare type AnimationProps = Omit & { from: Style; to: Style; }; export declare const useAnimation: (props: AnimationProps, deps?: any[]) => { isPlaying: boolean; style: Style; ref: React.MutableRefObject<{ play: (val: boolean) => void; reverse: () => void; update: (val: Style) => void; }>; };