import { Tween } from '../tween'; import { TweenOptions } from '../opts'; import { TweenFromStep } from './tween-from-step'; import { TweenToStep } from './tween-to-step'; import { TweenWithStep } from './tween-with-step'; import { DeepPartial } from '../../deep-partial'; /** * Builds instances of Tween using an ordered process of steps, as an alternative to the constructor syntax. * @template T The type of the value to be tweened. */ export declare class TweenStepBuilder implements TweenFromStep, TweenToStep, TweenWithStep { private target?; private destination?; get(target: T): TweenToStep; /** * @param destination The value to interpolate towards. * @returns The next step in the building process, where the configuration of the Tween is provided. */ to(destination: DeepPartial): TweenWithStep; /** * Complete the construction of the Tween, using the provided options. * @param options The options/configuration to provide to the Tween. * @returns The completed Tween. */ with(options: TweenOptions): Tween; } export declare namespace TweenStepBuilder { interface ToStep extends TweenToStep { } interface FromStep extends TweenFromStep { } interface WithStep extends TweenWithStep { } }