//#region packages/basic/object/deepCopys.d.ts /** * 深拷贝 - 支持 Proxy 对象和响应式系统 * @param obj 要拷贝的对象 * @param options 配置选项 * @returns 深拷贝后的对象 */ declare function deepCopys(obj: T, options?: { visited?: WeakMap; maxDepth?: number; handleProxy?: 'unwrap' | 'keep' | 'clone'; currentDepth?: number; }): T; /** * 安全的深拷贝 - 针对响应式系统的优化版本 */ declare function safeDeepCopy(obj: T): T; /** * 性能优化的深拷贝(使用 JSON 方法,有限制) */ declare function fastDeepCopy(obj: T): T; /** * 使用结构化克隆 API 的深拷贝(如果可用) */ declare function structuredCloneCopy(obj: T): T; declare function isPlainObject(obj: any): obj is Record; /** * 简单的深拷贝实现(处理常见情况,不包括 Proxy 等复杂情况) */ declare function simpleDeepCopy(obj: T): T; //#endregion export { simpleDeepCopy as a, safeDeepCopy as i, fastDeepCopy as n, structuredCloneCopy as o, isPlainObject as r, deepCopys as t };