/** Owns playback state for imported Babylon animation groups. */ import type { AnimationGroup } from "@babylonjs/core/Animations/animationGroup.js"; import type { Node } from "@babylonjs/core/node.js"; import type { Scene } from "@babylonjs/core/scene.js"; import { ManagedImportedAnimationPlayback, type ManagedImportedAnimationPorts } from "./managed-imported-animation.js"; export interface AnimationPlaybackOptions { loop?: boolean; speedRatio?: number; from?: number; to?: number; } export interface AnimationPlaybackState { id: number; name: string; from: number; to: number; frame: number; progress: number; started: boolean; playing: boolean; paused: boolean; loop: boolean; speedRatio: number; weight: number; targetCount: number; } export interface AnimationGroupSelector { name?: string; uniqueId?: number; root?: Node; } export declare class AnimationController { #private; readonly scene: Scene; readonly managed: ManagedImportedAnimationPlayback | null; constructor(scene: Scene, managed?: ManagedImportedAnimationPorts); list(root?: Node): readonly AnimationGroup[]; states(root?: Node): readonly AnimationPlaybackState[]; play(selector?: string | number | AnimationGroupSelector, options?: AnimationPlaybackOptions): readonly AnimationGroup[]; pause(selector?: string | number | AnimationGroupSelector): void; restart(selector?: string | number | AnimationGroupSelector): void; stop(selector?: string | number | AnimationGroupSelector): void; reset(selector?: string | number | AnimationGroupSelector): void; configure(selector: string | number | AnimationGroupSelector | undefined, options: { loop?: boolean; speedRatio?: number; weight?: number; }): void; goToFrame(frame: number, selector?: string | number | AnimationGroupSelector): void; seek(progress: number, selector?: string | number | AnimationGroupSelector): void; } /** Finds animation groups that target a node, its descendants, or their rigs. */ export declare function findNodeAnimationGroups(root: Node, scene: Scene): readonly AnimationGroup[]; //# sourceMappingURL=animation-controller.d.ts.map