declare function cloneDeep( val: T, instanceClone?: true | ((val: T) => T), ): T; export = cloneDeep;