import type { DaoCoreConfig } from "../config/types.daocore.js";
import { loadInstalledPluginIndexInstallRecords } from "../plugins/installed-plugin-index-records.js";
import type { InstalledPluginIndexRefreshReason } from "../plugins/installed-plugin-index.js";
export type PluginRegistryRefreshLogger = {
    warn?: (message: string) => void;
};
export declare function refreshPluginRegistryAfterConfigMutation(params: {
    config: DaoCoreConfig;
    reason: InstalledPluginIndexRefreshReason;
    workspaceDir?: string;
    env?: NodeJS.ProcessEnv;
    installRecords?: Awaited<ReturnType<typeof loadInstalledPluginIndexInstallRecords>>;
    policyPluginIds?: readonly string[];
    traceCommand?: string;
    logger?: PluginRegistryRefreshLogger;
}): Promise<void>;
