import { ProjectContext } from '../types/project-context.js'; import { AtomicTask } from '../types/task.js'; export interface LegacyAtomicProjectContext { projectId: string; languages: string[]; frameworks: string[]; tools: string[]; existingTasks: AtomicTask[]; codebaseSize: 'small' | 'medium' | 'large'; teamSize: number; complexity: 'low' | 'medium' | 'high'; codebaseContext?: { relevantFiles: Array<{ path: string; relevance: number; type: string; size: number; }>; contextSummary: string; gatheringMetrics: { searchTime: number; readTime: number; scoringTime: number; totalTime: number; cacheHitRate: number; }; totalContextSize: number; averageRelevance: number; }; } export interface MigrationResult { success: boolean; data?: T; warnings: string[]; errors: string[]; } export declare function migrateFromLegacyContext(legacyContext: LegacyAtomicProjectContext, projectPath?: string, projectName?: string): MigrationResult; export declare function migrateToLegacyContext(unifiedContext: ProjectContext): MigrationResult; export declare function isLegacyProjectContext(obj: unknown): obj is LegacyAtomicProjectContext; export declare function isUnifiedProjectContext(obj: unknown): obj is ProjectContext; export declare function autoMigrateProjectContext(context: unknown, projectPath?: string, projectName?: string): MigrationResult; //# sourceMappingURL=project-context-migration.d.ts.map