import { o as resolveControlPlaneRegistryParams } from "./plugin-registry-snapshot-CUJ0SXDb.js";
import { t as refreshPersistedInstalledPluginIndex } from "./installed-plugin-index-store-write-D83CttJl.js";
//#region src/plugins/plugin-registry-refresh.ts
/** Refreshes the persisted plugin registry for mutation and doctor flows. */
function refreshPluginRegistry(params) {
	if (!params.config) return refreshPersistedInstalledPluginIndex(params);
	return refreshPersistedInstalledPluginIndex(resolveControlPlaneRegistryParams(params));
}
//#endregion
export { refreshPluginRegistry as t };
