/** * @internal */ export type Interpolator = (progress: number) => Value; /** * @public */ export interface Interpolation { /** * @internal */ interpolate(from: Value, to: Value): Interpolator; /** * difference(from, to) calculates a measure of difference between two values, * such that for every value of from, to and x holds: * interpolator = interpolate(from, to) * total = difference(from, to) * interpolator( difference(from, x) / total ) === x * @internal */ difference(from: Value, to: Value): number; } /** * @internal */ export interface Interpolatable { interpolationFor(value: Value, currentInterpolation: Interpolation): Interpolation | undefined; } /** * @internal */ export declare function isInterpolatable(value: any): value is Interpolatable; /** * @public */ export declare const Interpolation: { /** * @param from - * @param to - * @internal */ handleUndefined: (from: Value, to: Value) => [Value, Value]; }; //# sourceMappingURL=Interpolation.d.ts.map