import { CBDAdapter } from './cbd-adapter.js'; import { MigrationOptions, MigrationResult } from './types.js'; export declare class MigrationManager { private adapter; constructor(adapter: CBDAdapter); from(source: string, options?: MigrationOptions): Promise; export(target: string, options?: { tables?: string[]; format?: 'sql' | 'json' | 'csv'; compress?: boolean; }): Promise<{ file: string; size: number; tables: string[]; records: number; }>; backup(location: string, options?: { compress?: boolean; includeSchema?: boolean; tables?: string[]; }): Promise<{ location: string; size: number; timestamp: Date; }>; restore(location: string, options?: { overwrite?: boolean; tables?: string[]; skipData?: boolean; }): Promise<{ tables: string[]; records: number; duration: number; }>; fromPostgreSQL(connectionString: string, options?: MigrationOptions): Promise; fromMySQL(connectionString: string, options?: MigrationOptions): Promise; fromMongoDB(connectionString: string, options?: MigrationOptions): Promise; fromSQLite(filePath: string, options?: MigrationOptions): Promise; fromCSV(filePath: string, tableName: string, options?: { delimiter?: string; headers?: boolean; encoding?: string; }): Promise; fromJSON(filePath: string, tableName: string, options?: { arrayPath?: string; flatten?: boolean; }): Promise; migrateSchema(source: string, options?: { includeIndexes?: boolean; includeConstraints?: boolean; dropExisting?: boolean; }): Promise<{ tables: string[]; indexes: string[]; constraints: string[]; }>; validateMigration(source: string, options?: { sampleSize?: number; checkConstraints?: boolean; compareCounts?: boolean; }): Promise<{ isValid: boolean; issues: string[]; statistics: Record; }>; getMigrationProgress(migrationId: string): Promise<{ id: string; status: 'running' | 'completed' | 'failed' | 'paused'; progress: number; currentTable: string; recordsProcessed: number; estimatedTimeRemaining: number; }>; private connectToSource; private parseSourceType; private createMigrationPlan; private createDryRunResult; private migrateTable; private getPostgreSQLTables; private getMySQLTables; private getMongoCollections; private getSQLiteTables; } //# sourceMappingURL=migration.d.ts.map