import type { KlawConfig } from "../config/types.klaw.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: KlawConfig;
    prompter: Pick<DoctorPrompter, "shouldRepair">;
};
export declare function maybeRepairStaleManagedNpmBundledPlugins(params: PluginRegistryDoctorRepairParams): boolean;
export declare function maybeRepairManagedNpmKlawPeerLinks(params: PluginRegistryDoctorRepairParams): Promise<boolean>;
export declare function maybeRepairPluginRegistryState(params: PluginRegistryDoctorRepairParams): Promise<KlawConfig>;
export {};
