import { Matrix4, Skeleton } from "three";
declare module "../InstancedMesh2" {
    interface InstancedMesh2 {
        /**
         * Initialize the skeleton of the instances.
         * @param skeleton The skeleton to initialize.
         * @param disableMatrixAutoUpdate Whether to disable the matrix auto update of the bones. Default is `true`.
         */
        initSkeleton(skeleton: Skeleton, disableMatrixAutoUpdate?: boolean): void;
        /**
         * Set the bones of the skeleton to the instance at the specified index.
         * @param id The index of the instance.
         * @param updateBonesMatrices Whether to update the matrices of the bones. Default is `true`.
         * @param excludeBonesSet An optional set of bone names to exclude from updates, skipping their local matrix updates.
         */
        setBonesAt(id: number, updateBonesMatrices?: boolean): void;
        /** internal */ multiplyBoneMatricesAt(instanceIndex: number, boneIndex: number, m1: Matrix4, m2: Matrix4): void;
    }
}
