import type { Bone } from "three"; /** * 获取所有的根骨骼 * @param bones - 骨骼数组 * @returns */ export declare function getAllRootBones(bones: Bone[]): Bone[]; /** * 获取第一个根骨骼 * @param bones - 骨骼数组 * @returns */ export declare function getFirstRootBone(bones: Bone[]): Bone | undefined; /** * 获取根骨骼 * @remarks * 与 {@link getFirstRootBone} 的区别是如果没有找到真正的根骨骼,它会返回 bones[0] 作为 骨骼的根骨骼 * @param bones - 骨骼数组 * @returns */ export declare function getRootBone(bones: Bone[]): Bone; //# sourceMappingURL=bone-tools.d.ts.map