export type MigrationSeverity = 'manual' | 'error'; export interface MigrationDiagnostic { readonly severity: MigrationSeverity; readonly source: string; readonly line: number; readonly column: number; readonly message: string; } export interface MigrationChange { readonly kind: 'command' | 'middleware' | 'component'; readonly source: string; readonly target: string; readonly identity: string; readonly pattern?: string; readonly content: string; } export interface LegacyMigrationPlan { readonly root: string; readonly changes: readonly MigrationChange[]; readonly diagnostics: readonly MigrationDiagnostic[]; } export interface LegacyMigrationSummary { readonly automatic: number; readonly manual: number; readonly errors: number; } /** Extracts only capabilities whose callbacks have no source-file closure dependencies. */ export declare class LegacyCapabilityMigrator { plan(projectRoot: string): Promise; summarize(plan: LegacyMigrationPlan): LegacyMigrationSummary; apply(plan: LegacyMigrationPlan): Promise; } /** @deprecated Use LegacyCapabilityMigrator for command, middleware, and component extraction. */ export declare class LegacyCommandMigrator extends LegacyCapabilityMigrator { } //# sourceMappingURL=legacy-command-migrator.d.ts.map