import { parseNumberWithDefault } from "../number.js";
const DEFAULT_LIST_COUNT_CAP = 1e4;
function resolveListCountCap() {
  const parsed = parseNumberWithDefault(process.env.OM_LIST_COUNT_CAP, DEFAULT_LIST_COUNT_CAP, { integer: true });
  return parsed <= 0 ? null : parsed;
}
export {
  DEFAULT_LIST_COUNT_CAP,
  resolveListCountCap
};
//# sourceMappingURL=count-cap.js.map
