/// declare namespace FxOrmPlugin__Migrator { interface MigratorConstructorOptions { dir?: string coffee?: boolean logger?: Function } interface MigratorActionFunction extends Function { (this: Migrator, ...args: any): any } interface MigratorModule { file: string up: MigratorActionFunction down: MigratorActionFunction } class Migrator> { constructor ( driver: FxOrmSqlDDLSync__Driver.Driver, opts?: FxOrmPlugin__Migrator.MigratorConstructorOptions ); driver: T dir: MigratorConstructorOptions['dir'] coffee: MigratorConstructorOptions['coffee'] logger: MigratorConstructorOptions['logger'] dsl?: FxOrmPlugin__MigrationDSL.MigrationDSL migration?: FxOrmPlugin__Migration.Migration up (migrationName: string, cb: FxOrmSqlDDLSync.ExecutionCallback): void up (migrationName: string): PromiseLike down (migrationName: string, cb: FxOrmSqlDDLSync.ExecutionCallback): void down (migrationName: string): PromiseLike generate (title: string, cb: FxOrmSqlDDLSync.ExecutionCallback): void generate (title: string): PromiseLike ensureMigrationsTable (cb: FxOrmSqlDDLSync.ExecutionCallback): void ensureMigrationsTable (): PromiseLike [k: string]: any } }