import type { DomainObject } from '../../instantiation/DomainObject'; type DeepPartial = { [K in keyof T]?: T[K] extends Array ? Array> : T[K] extends object ? DeepPartial : T[K]; }; /** * .what = deep clones domain objects safely * .why = preserves instance types, methods, and nested structures */ export declare const clone: >(dobj: T, updates?: DeepPartial) => T; export {};