import { Object3D } from 'three/webgpu'; /** * Release the gizmo if it is currently holding this object. * * Only necessary because the old `TransformControls` are still in use instead * of `DIVEGizmo`: they keep a reference to their target, so removing the * object from the scene without detaching first leaves the gizmo pointing at * something that is no longer there. * * Both shapes are checked because the controls sit under a helper root in * newer three versions and directly in the scene in older ones. * * @param object - The object about to leave the scene. */ export declare const detachTransformControls: (object: Object3D) => void;