import { combineExtensions as e } from "../../micromark-util-combine-extensions/index.js";
import { content as t } from "./initialize/content.js";
import { document as n } from "./initialize/document.js";
import { flow as r } from "./initialize/flow.js";
import { string as i, text as a } from "./initialize/text.js";
import { constructs_exports as o } from "./constructs.js";
import { createTokenizer as s } from "./create-tokenizer.js";
//#region ../../node_modules/micromark/lib/parse.js
function c(c) {
	let l = {
		constructs: e([o, ...(c || {}).extensions || []]),
		content: u(t),
		defined: [],
		document: u(n),
		flow: u(r),
		lazy: {},
		string: u(i),
		text: u(a)
	};
	return l;
	function u(e) {
		return t;
		function t(t) {
			return s(l, e, t);
		}
	}
}
//#endregion
export { c as parse };
