import { parseBooleanToken } from "../boolean.js";
const SEARCH_AUTO_INDEX_CONFIG_MODULE = "vector";
const SEARCH_AUTO_INDEX_CONFIG_KEY = "auto_index_enabled";
function envDisablesAutoIndexing() {
  const raw = process.env.OM_DISABLE_VECTOR_SEARCH_AUTOINDEXING ?? process.env.DISABLE_VECTOR_SEARCH_AUTOINDEXING;
  if (!raw) return false;
  return parseBooleanToken(raw) === true;
}
export {
  SEARCH_AUTO_INDEX_CONFIG_KEY,
  SEARCH_AUTO_INDEX_CONFIG_MODULE,
  envDisablesAutoIndexing
};
//# sourceMappingURL=auto-indexing.js.map
