import { PartialSchema } from '../../../types/index.ts'; /** * Returns a patch whose vectors are plain copies. * * The engine reports transforms as live references into objects it keeps reusing * — `DIVENode.onMove` hands out a scratch `Vector3` that the next frame * overwrites. Storing such a reference means the stored schema silently changes * underneath its owner, and `lodash.merge` assigns by reference whenever the * target key is absent. * * This used to be `copyVec` at each call site in the gateway. It lives here * because `EntityRegistry.write` is now the only way into a schema, so copying * can happen once instead of being remembered every time. * * @param patch - The patch to sanitise. */ export declare const copyVectors: (patch: T) => T;