import { generateUniqueValue as r } from "@scalar/workspace-store/helpers/generate-unique-value";
import { slugify as i } from "../../../helpers/slugify.js";
const u = async (e, a) => await r({
  defaultValue: e,
  validation: (t) => !a.has(t),
  maxRetries: 100,
  transformation: i
});
export {
  u as generateUniqueSlug
};
