import { checkRule } from "../util/check-rule.js";
import { checkRuleRepetition } from "../util/check-rule-repetition.js";
function thematicBreak(n, r, i) {
	let a = (checkRule(i) + (i.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(i));
	return i.options.ruleSpaces ? a.slice(0, -1) : a;
}
export { thematicBreak };
