/** * User Migration System for Recoder.xyz Ecosystem * * Handles automated migration from LlamaCoder, KiloCode, and other AI coding tools */ export interface MigrationSource { name: string; displayName: string; version?: string; configPath: string; dataPath: string; supported: boolean; } export interface MigrationData { source: MigrationSource; config: any; sessions: any[]; projects: any[]; settings: any; apiKeys: Record; customPrompts: any[]; extensions: any[]; metadata: { exportDate: string; sourceVersion: string; migrationVersion: string; }; } export interface MigrationResult { success: boolean; source: string; migratedItems: { config: boolean; sessions: number; projects: number; apiKeys: number; customPrompts: number; }; warnings: string[]; errors: string[]; postMigrationSteps: string[]; } export declare class UserMigrationSystem { private static instance; private configManager; private sessionManager; private supportedSources; private constructor(); static getInstance(platform: 'cli' | 'web' | 'extension'): UserMigrationSystem; /** * Initialize supported migration sources */ private initializeSupportedSources; /** * Detect available migration sources */ detectSources(): Promise; /** * Check if migration source exists */ private checkSourceExists; /** * Detect source version */ private detectSourceVersion; /** * Export data from source */ exportFromSource(sourceName: string): Promise; /** * Import migration data to Recoder */ importMigrationData(migrationData: MigrationData): Promise; /** * Migrate configuration settings */ private migrateConfiguration; /** * Migrate API keys */ private migrateApiKeys; /** * Migrate sessions */ private migrateSessions; /** * Migrate projects */ private migrateProjects; /** * Migrate custom prompts */ private migrateCustomPrompts; /** * Generate post-migration steps */ private generatePostMigrationSteps; private detectLlamaCoderVersion; private detectKiloCodeVersion; private detectCursorVersion; private exportLlamaCoderData; private exportKiloCodeData; private exportCursorData; private exportClaudeDevData; private mapProvider; private convertSessionFormat; private convertProjectFormat; private convertMessages; } export declare const createCLIMigrationSystem: () => UserMigrationSystem; export declare const createWebMigrationSystem: () => UserMigrationSystem; export declare const createExtensionMigrationSystem: () => UserMigrationSystem; export default UserMigrationSystem; //# sourceMappingURL=user-migration-system.d.ts.map