import { IDatabaseAdapter, IMigration, IMigrationManager, IMigrationStatus } from '../interfaces'; /** * Base migration manager implementation * Tracks and executes schema migrations */ export declare class BaseMigrationManager implements IMigrationManager { private adapter; private migrations; constructor(adapter: IDatabaseAdapter, migrations: IMigration[]); /** * Run all pending migrations * @throws Error if any migration fails */ up(): Promise; /** * Rollback last applied migration * @throws Error if no migrations to rollback or rollback fails */ down(): Promise; /** * Get status of all migrations */ status(): Promise; /** * Ensure migrations table exists */ private ensureMigrationsTable; /** * Get list of applied migration IDs in order */ private getAppliedMigrations; /** * Record a migration as applied */ private recordMigration; /** * Remove a migration record */ private removeMigration; } //# sourceMappingURL=BaseMigrationManager.d.ts.map