import { checkRule as e } from "../util/check-rule.js";
import { checkRuleRepetition as t } from "../util/check-rule-repetition.js";
//#region ../../node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
function n(n, r, i) {
	let a = (e(i) + (i.options.ruleSpaces ? " " : "")).repeat(t(i));
	return i.options.ruleSpaces ? a.slice(0, -1) : a;
}
//#endregion
export { n as thematicBreak };
