import type { DaoCoreConfig } from "../config/types.daocore.js";
import type { RuntimeEnv } from "../runtime.js";
import { note } from "../terminal/note.js";
import type { DoctorPrompter } from "./doctor-prompter.js";
type LegacyManifestContractMigration = {
    manifestPath: string;
    pluginId: string;
    nextRaw: Record<string, unknown>;
    changeLines: string[];
};
export declare function collectLegacyPluginManifestContractMigrations(params?: {
    config?: DaoCoreConfig;
    env?: NodeJS.ProcessEnv;
    manifestRoots?: string[];
    workspaceDir?: string;
}): LegacyManifestContractMigration[];
export declare function maybeRepairLegacyPluginManifestContracts(params: {
    config?: DaoCoreConfig;
    env?: NodeJS.ProcessEnv;
    manifestRoots?: string[];
    workspaceDir?: string;
    runtime: RuntimeEnv;
    prompter: DoctorPrompter;
    note?: typeof note;
}): Promise<void>;
export {};
