"use client";
import { deserialize as t } from "./deserialize.js";
import { serialize as u } from "./serialize.js";
const i = typeof structuredClone == "function" ? (
  /* c8 ignore start */
  (r, e) => e && ("json" in e || "lossy" in e) ? t(u(r, e)) : structuredClone(r)
) : (r, e) => t(u(r, e));
export {
  i as default,
  t as deserialize,
  u as serialize
};
