/**
 * Migration orchestrator.
 *
 * Flow:
 *   1. Check git worktree is clean (bail if not)
 *   2. Run detection
 *   3. Print report
 *   4. Interactive confirmation (unless --yes)
 *   5. Apply codemods
 *   6. Run typecheck
 *   7. Print final summary
 */
export interface MigrateOptions {
    /** Project directory (defaults to cwd) */
    projectDir?: string;
    /** Skip interactive confirmation */
    yes?: boolean;
    /** Only run detection + print report, no transforms */
    dryRun?: boolean;
}
export type MigrateResult = {
    ok: true;
    changedFiles: string[];
} | {
    ok: false;
    reason: string;
};
export declare function migrate(opts?: MigrateOptions): Promise<MigrateResult>;
//# sourceMappingURL=migrate.d.ts.map