import { combineExtensions as c } from "../../../../micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js";
import { content as i } from "./initialize/content.js";
import { document as m } from "./initialize/document.js";
import { flow as f } from "./initialize/flow.js";
import { text as u, string as p } from "./initialize/text.js";
import * as a from "./constructs.js";
import { createTokenizer as x } from "./create-tokenizer.js";
function y(r) {
  const o = {
    constructs: (
      /** @type {FullNormalizedExtension} */
      c([a, ...(r || {}).extensions || []])
    ),
    content: t(i),
    defined: [],
    document: t(m),
    flow: t(f),
    lazy: {},
    string: t(p),
    text: t(u)
  };
  return o;
  function t(n) {
    return e;
    function e(s) {
      return x(o, n, s);
    }
  }
}
export {
  y as parse
};
//# sourceMappingURL=parse.js.map
