import type { Track } from "./Track.ts"; /** Named collection of keyframe tracks representing a single animation sequence. */ export declare class AnimationClip { #private; /** * @param name Clip name * @param duration Pass -1 to compute from tracks * @param tracks Array of keyframe tracks */ constructor(name?: string, duration?: number, tracks?: Track[]); get name(): string; get duration(): number; get tracks(): Track[]; /** Finds a clip by name in an array. */ static findByName(clips: AnimationClip[], name: string): AnimationClip | undefined; /** Recomputes duration from the maximum keyframe time across all tracks. */ resetDuration(): void; /** Removes keyframes outside [0, duration] from all tracks. */ trim(): void; /** Removes redundant keyframes where the value does not change from the previous key. */ optimize(): void; } //# sourceMappingURL=AnimationClip.d.ts.map