import { type MigrateReport, type MigrateSource } from "../migrate/types"; export interface MigrateCommandArgs { from: string[]; project: boolean; force: boolean; dryRun: boolean; json: boolean; /** Test seam: override home dir for source discovery. */ homeDir?: string; /** Test seam: override cwd for project-scope destinations. */ cwd?: string; } export declare class MigrateArgsError extends Error { } /** Expand `all`/repeated `--from`, validate, and return sources in canonical order. */ export declare function resolveSources(from: string[]): MigrateSource[]; /** Run the migration and return the report (does not set process.exitCode). */ export declare function runMigrate(args: MigrateCommandArgs): Promise; /** CLI entry: run, render, and set the process exit code. */ export declare function runMigrateCommand(args: MigrateCommandArgs): Promise;