import type { AnimationClip } from "./AnimationClip.ts"; /** Loop once and stop. */ export declare const LoopOnce = 2200; /** Loop repeatedly. */ export declare const LoopRepeat = 2201; /** Loop back and forth (ping-pong). */ export declare const LoopPingPong = 2202; /** Playback state for a single AnimationClip on a root Node. */ export declare class AnimationAction { #private; enabled: boolean; weight: number; timeScale: number; time: number; loop: number; repetitions: number; clampWhenFinished: boolean; paused: boolean; _fadeTarget: number | undefined; _fadeDuration: number | undefined; _fadeElapsed: number | undefined; constructor(clip: AnimationClip, localRoot?: object | undefined); get clip(): AnimationClip; get localRoot(): object | undefined; play(): this; stop(): this; reset(): this; setLoop(mode: number, repetitions: number): this; setEffectiveWeight(weight: number): this; getEffectiveWeight(): number; /** Schedules weight to animate from 0 to 1 over duration seconds. */ fadeIn(duration: number): this; /** Schedules weight to animate from 1 to 0 over duration seconds. */ fadeOut(duration: number): this; /** Fades out another action while this one fades in. */ crossFadeFrom(fadeOutAction: AnimationAction, duration: number, _warp?: boolean): this; /** Fades out this action while another fades in. */ crossFadeTo(fadeInAction: AnimationAction, duration: number, _warp?: boolean): this; /** Called by Animator.update - exposed for internal use. */ _update(delta: number): void; } //# sourceMappingURL=AnimationAction.d.ts.map