import { AnimatedValue } from "./AnimatedValue"; import { Animation, EndCallback } from "./Animation"; declare type SpringAnimationConfigSingle = { toValue: number | AnimatedValue; overshootClamping?: boolean; restDisplacementThreshold?: number; restSpeedThreshold?: number; velocity?: number; bounciness?: number; speed?: number; tension?: number; friction?: number; mass?: number; }; export declare class SpringAnimation extends Animation { _overshootClamping: boolean; _restDisplacementThreshold: number; _restSpeedThreshold: number; _initialVelocity?: number; _lastVelocity: number; _startPosition: number; _lastPosition: number; _fromValue: number; _toValue: any; _tension: number; _friction: number; _mass: number; _lastTime: number; _onUpdate: (value: number) => void; _animationFrame: any; constructor(config: SpringAnimationConfigSingle); start: (fromValue: number, onUpdate: (value: number) => void, onEnd: EndCallback | null, previousAnimation: Animation | null) => void; getInternalState(): { lastPosition: number; lastVelocity: number; lastTime: number; }; onUpdate(): void; stop(): void; } export {};