/** * Safely clones an object. * Tries modern fast `structuredClone` first. * Falls back to `JSON.parse(JSON.stringify())` if the object contains * non-cloneable items like Functions, DOM nodes, or complex Proxies, * which guarantees backward compatibility with old stripping behavior. */ export declare function safeClone(val: T): T;