import type { DHParameter, MotionGroupState } from "@wandelbots/nova-js/v2"; import type React from "react"; import type { Object3D } from "three"; export type RobotAnimatorHandle = { /** * Re-scan the robot group for joints and re-apply the current pose. * Must be called whenever the (async-loaded) robot model mounts its * meshes into the scene, since the group ref callback only fires when * the outer group itself mounts — not when its children appear later. */ recollectJoints: () => void; }; type RobotAnimatorProps = { rapidlyChangingMotionState: MotionGroupState; dhParameters: DHParameter[]; onRotationChanged?: (joints: Object3D[], jointValues: number[]) => void; children: React.ReactNode; }; declare const RobotAnimator: React.ForwardRefExoticComponent>; export default RobotAnimator;