import { MigrationInfo, MigrationResult, MigrationStatus, MigrationStorage, MigratorOptions } from "./common"; export { default as MigratorTypeormStorage } from "./storage/typeorm"; export { ConnectionOptions, Connection, createConnection } from "typeorm"; export { MigrationInfo, MigrationResult, MigrationStorage, MigratorOptions, MigrationExecutorFn, MigrationStatus, } from "./common"; export declare class Migration implements MigrationInfo { name: string; filename: string; private readonly context; private readonly storage; status: MigrationStatus; timeTaken?: number; result?: string; startDate?: Date; endDate?: Date; constructor(name: string, filename: string, context: Context, storage: MigrationStorage); run(): Promise; toJSON(): MigrationInfo; } export declare class Migrator { private readonly context; private readonly options; constructor(context: Context, userOptions: Partial); private static getMigrationName; getMigrationFilenames(): Promise; getPerformedMigrations(): Promise; getPendingMigrations(): Promise>>; migrate(autoRun?: boolean): Promise; close(): Promise; }