/**
 * Returns a copied version of `value`.
 *
 * If `value` is primitive, returns `value`.
 * Otherwise, properties of `value` are copied recursively. Only `value`'s own
 * enumerable properties are cloned. Arrays are cloned by mapping over their
 * elements.
 *
 * If a path in `value` references itself or a parent path, then in the
 * resulting object that path will also reference the path it referenced in the
 * original object (but now in the resuling object instead of the original).
 */
declare const clone: <T>(value: T) => T;
export default clone;
