import {
  __esm
} from "./chunk-2ESYSVXG.js";

// src/util/ids.ts
import { ulid } from "ulid";
function newId(prefix) {
  return `${prefix}_${ulid()}`;
}
function isId(prefix, value) {
  return typeof value === "string" && value.startsWith(`${prefix}_`);
}
var init_ids = __esm({
  "src/util/ids.ts"() {
  }
});

export {
  newId,
  isId,
  init_ids
};
