import { type RetrofitInitPlan } from './cli-init-types.js'; /** * Apply the previewed retrofit init plan to disk. * * The command snapshots package.json, generated helper targets, and workspace * script consumers before writing, then rolls those files back automatically * if any write or historical-export migration fails. * * @param projectDir Project root that should receive the retrofit surface. * @param options Optional package-manager override used for emitted scripts and * follow-up guidance. * @returns The applied retrofit init plan describing the persisted changes. */ export declare function applyInitPlan(projectDir: string, options?: { packageManager?: string; }): Promise;