/**
 * Will remove keyframes that do not affect the shape of the curve significantly.
 * The error tolerance determines the significance degree.
 * Intended to reduce the complexity of a curve to improve performance and lower memory usage
 * @param {AnimationCurve} curve The curve to optimize. The curve is modified in place.
 * @param {number} [error_tolerance] how much of a loss to accept, this is relative to normalized value bounds of the curve
 * @returns {number} number of removed keys, 0 if curve was unchanged
 *
 * @author Alex Goldring
 * @copyright Company Named Limited (c) 2026
 */
export function animation_curve_optimize(curve: AnimationCurve, error_tolerance?: number): number;
//# sourceMappingURL=animation_curve_optimize.d.ts.map