import { createLogger } from "../lib/logger/index.js";
const logger = createLogger("shared").child({ component: "search-registry" });
let _searchModuleConfigs = null;
function registerSearchModuleConfigs(configs) {
  if (_searchModuleConfigs !== null && process.env.NODE_ENV === "development") {
    logger.debug("Search module configs re-registered (this may occur during HMR)");
  }
  _searchModuleConfigs = configs;
}
function getSearchModuleConfigs() {
  return _searchModuleConfigs ?? [];
}
export {
  getSearchModuleConfigs,
  registerSearchModuleConfigs
};
//# sourceMappingURL=search.js.map
