import { Animated } from 'react-native'; export interface UseFrameAnimationControllerConfig { initialValue?: number; interpolateConfig?: Animated.InterpolationConfigType; onPlayStart?: () => void; onPlayEnd?: () => void; onStop?: () => void; } export interface UseFrameAnimationControllerReturn = Record, TInterpolations = Record>> { animatedValue: Animated.Value; registerAnimation: (animation: Animated.CompositeAnimation) => void; interpolations: TInterpolations; play: () => void; stop: () => void; isPlaying: boolean; } export declare function useFrameAnimationController = Record, TInterpolations = Record>>(params: { frameData: TFrameData; frameCount: number; config?: UseFrameAnimationControllerConfig; createInterpolations?: (params: { animatedValue: Animated.Value; frameData: TFrameData; frameCount: number; config?: Animated.InterpolationConfigType; }) => TInterpolations; }): UseFrameAnimationControllerReturn; export declare function createInterpolations, TInterpolations = Record>>(params: { animatedValue: Animated.Value; frameData: TFrameData; frameCount: number; config?: Animated.InterpolationConfigType; }): TInterpolations; //# sourceMappingURL=useFrameAnimationController.d.ts.map