import { deserialize as e } from "./deserialize.js";
import { serialize as t } from "./serialize.js";
//#region ../../node_modules/@ungap/structured-clone/esm/index.js
var n = typeof structuredClone == "function" ? (n, r) => r && ("json" in r || "lossy" in r) ? e(t(n, r)) : structuredClone(n) : (n, r) => e(t(n, r));
//#endregion
export { n as default };
