import type { DaoCoreConfig } from "../config/types.daocore.js";
import { type InstalledPluginIndexRecordStoreOptions } from "../plugins/installed-plugin-index-records.js";
import type { DoctorPrompter } from "./doctor-prompter.js";
import { type PluginRegistryInstallMigrationParams } from "./doctor/shared/plugin-registry-migration.js";
type PluginRegistryDoctorRepairParams = Omit<PluginRegistryInstallMigrationParams, "config"> & InstalledPluginIndexRecordStoreOptions & {
    config: DaoCoreConfig;
    prompter: Pick<DoctorPrompter, "shouldRepair">;
};
export declare function maybeRepairStaleManagedNpmBundledPlugins(params: PluginRegistryDoctorRepairParams): boolean;
export declare function maybeRepairStaleLocalBundledPluginInstallRecords(params: PluginRegistryDoctorRepairParams): Promise<string[]>;
export declare function maybeRepairManagedNpmDaoCorePeerLinks(params: PluginRegistryDoctorRepairParams): Promise<boolean>;
export declare function maybeRepairPluginRegistryState(params: PluginRegistryDoctorRepairParams): Promise<DaoCoreConfig>;
export {};
