import { deserialize } from "./esm-deserialize.js";
import { serialize } from "./esm-serialize.js";
const structuredClone$1 = typeof structuredClone === "function" ? (
  /* c8 ignore start */
  (any, options) => options && ("json" in options || "lossy" in options) ? deserialize(serialize(any, options)) : structuredClone(any)
) : (any, options) => deserialize(serialize(any, options));
export {
  structuredClone$1 as default,
  deserialize,
  serialize
};
//# sourceMappingURL=esm-index.js.map
