import { fromDom } from "../hast-util-from-dom/lib-index.js";
new DOMParser();
function fromHtmlIsomorphic(value, options) {
  const node = parseFragment(value);
  return (
    /** @type {Root} */
    fromDom(node)
  );
}
function parseFragment(value) {
  const template = document.createElement("template");
  template.innerHTML = value;
  return template.content;
}
export {
  fromHtmlIsomorphic
};
//# sourceMappingURL=lib-browser.js.map
