export type InterpolationFunction = (v: number[], k: number) => number; /** * Interpolation functions for tweening through arrays of values. * Used when a tween target property is an array (e.g. a path of waypoints). * * Available functions: * - `Linear` — straight-line interpolation between consecutive values * - `Bezier` — smooth Bezier curve through all values * - `CatmullRom` — smooth Catmull-Rom spline through all values (best for paths) * @example * // tween through waypoints using CatmullRom spline * new me.Tween(obj).to({ x: [100, 200, 300, 400] }, { * duration: 2000, * interpolation: me.Tween.Interpolation.CatmullRom, * }).start(); * @see {@link Tween} * @category Tweens */ export declare const Interpolation: { /** * Piecewise linear interpolation between consecutive array values. * @param v - array of values * @param k - interpolation factor (0 to 1) */ Linear: (v: number[], k: number) => number; /** * Smooth Bezier curve interpolation through all array values. * @param v - array of values * @param k - interpolation factor (0 to 1) */ Bezier: (v: number[], k: number) => number; /** * Smooth Catmull-Rom spline interpolation — best for path-following tweens. * @param v - array of values * @param k - interpolation factor (0 to 1) */ CatmullRom: (v: number[], k: number) => number; }; //# sourceMappingURL=interpolation.d.ts.map