/** * Performs a deep clone of a value, supporting various types including arrays, objects, * Maps, Sets, Dates, and RegExps. Functions are not supported and will throw an error. * @template T - The type of the value to clone. * @param value - The value to deep clone. * @returns A deep copy of the provided value. * @throws {Error} An error if the value is a function, as cloning functions is not supported. */ export declare function clone(value: T): T; /** * Creates a deep clone of an object. Uses the `structuredClone` function if available, * otherwise falls back to a manual deep clone implementation. * @template T - The type of the object to clone. * @param object - The object to deep clone. * @returns A deep copy of the provided object. */ export default function deepClone(object: T): T;