import { checkRuleRepetition } from "./lib-util-check-rule-repetition.js";
import { checkRule } from "./lib-util-check-rule.js";
function thematicBreak(_, _1, state) {
  const value = (checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(state));
  return state.options.ruleSpaces ? value.slice(0, -1) : value;
}
export {
  thematicBreak
};
//# sourceMappingURL=lib-handle-thematic-break.js.map
