import EventDispatcher from '../events/EventDispatcher'; import ITween from '../interfaces/animation/ITween'; import IElementCSSInlineStyle from '../interfaces/style/IElementCSSInlineStyle'; export default class StyleTween extends EventDispatcher implements ITween { protected target: IElementCSSInlineStyle; protected style: string; protected duration: number; protected value: number; protected startValue: number; protected currentValue: number; protected difference: number; protected start: number; protected requestId: number; protected progress: number; constructor(target: IElementCSSInlineStyle, style: string, duration: number); to(value: number, duration: number): void; protected animationFrame(time: number): void; }