import { Style } from '../../type'; export interface AnimationType { play?: boolean; overlay?: number; duration?: number; delay?: number; easeType?: string; children?: any; register?: (data: any) => void; render?: (data: { style: Style | null; }) => any; sequenceId?: string | number; sequenceIndex?: number; } export interface AnimationStateType { [key: string]: AnimationType; } export interface AnimationProps extends AnimationType { onComplete?: () => void; start?: Style; end?: Style; complete?: Style; animationStates?: AnimationStateType; autoPlay?: boolean; } export declare function useAnimate(props: AnimationProps, deps: any[]): { isPlaying: boolean; style: Style; play: (val: boolean) => void; update: (val: Style) => void; };