import { deserialize } from "./deserialize.js";
import { serialize } from "./serialize.js";
var esm_default = typeof structuredClone == "function" ? (n, r) => r && ("json" in r || "lossy" in r) ? deserialize(serialize(n, r)) : structuredClone(n) : (n, r) => deserialize(serialize(n, r));
export { esm_default as default };
