"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const checkBullet = require("./lib-util-check-bullet.cjs");
function checkBulletOther(state) {
  const bullet = checkBullet.checkBullet(state);
  const bulletOther = state.options.bulletOther;
  if (!bulletOther) {
    return bullet === "*" ? "-" : "*";
  }
  if (bulletOther !== "*" && bulletOther !== "+" && bulletOther !== "-") {
    throw new Error(
      "Cannot serialize items with `" + bulletOther + "` for `options.bulletOther`, expected `*`, `+`, or `-`"
    );
  }
  if (bulletOther === bullet) {
    throw new Error(
      "Expected `bullet` (`" + bullet + "`) and `bulletOther` (`" + bulletOther + "`) to be different"
    );
  }
  return bulletOther;
}
exports.checkBulletOther = checkBulletOther;
//# sourceMappingURL=lib-util-check-bullet-other.cjs.map
