/** * Accepts any value and returns a valid clone of that object. * Dream instances, Query instances, and other special types are * automatically cloned using their specialized cloning methods. * * @param original - The value to clone * @param unsupportedTypeCloneFunction - Optional function to handle cloning of unsupported types. * If not provided, an error will be thrown for unsupported types. * @returns Either a clone of the original value, or the original value itself for immutable types * @throws {TypeUnsupportedByClone} When an unsupported type is encountered and no unsupportedTypeCloneFunction is provided */ export default function cloneDeepSafe(original: T, unsupportedTypeCloneFunction?: (x: U) => U): T; export declare class TypeUnsupportedByClone extends Error { private original; constructor(original: any); get message(): string; }