/**
 * V2 → V3 migration orchestrator.
 *
 * Flow:
 *   1. Check git worktree is clean (bail if not)
 *   2. Run v3 detection
 *   3. Print report
 *   4. Interactive confirmation (unless --yes)
 *   5. Apply transforms:
 *      a. Generate src/services.ts
 *      b. Transform agent files
 *      c. Rewrite service access in route files
 *      d. Generate new entry point (src/index.ts)
 *      e. Delete old app.ts
 *      f. Delete agentuity.config.ts
 *      g. Delete src/agent/index.ts barrel
 *      h. Update package.json
 *   6. Run bun install
 *   7. Run typecheck
 *   8. Print final summary
 */
export interface MigrateV3Options {
    /** Project directory (defaults to cwd) */
    projectDir?: string;
    /** Skip interactive confirmation */
    yes?: boolean;
    /** Only run detection + print report, no transforms */
    dryRun?: boolean;
}
export type MigrateV3Result = {
    ok: true;
    changedFiles: string[];
} | {
    ok: false;
    reason: string;
};
export declare function migrateV3(opts?: MigrateV3Options): Promise<MigrateV3Result>;
//# sourceMappingURL=migrate-v3.d.ts.map