import { type RetrofitInitPlan } from './cli-init-types.js'; /** * Apply the previewed retrofit init plan to disk. * * The command snapshots package.json and generated helper targets before * writing, then rolls those files back automatically if any write 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;