import SqlMigrationEntry from '../domain/SqlMigrationEntry'; import JavaScriptMigrationEntry from '../domain/JavaScriptMigrationEntry'; /** * Glob the migration directory and retrieve all the migration entries (names) * that needs to be run. * * Note: The ".up.sql" and ".down.sql" part of the migration files are * omitted and and a pair of those files are considered a single migration entry. * * @param {string} migrationPath * @returns {Promise} */ export declare function getSqlMigrationNames(migrationPath: string): Promise; /** * Glob the migration directory and retrieve all the migration entries (names) * that need to be run. * * @param {string} migrationPath * @param {string} extension * @returns {Promise} */ export declare function getJavaScriptMigrationNames(migrationPath: string, extension: string): Promise; /** * Resolve all the migration source for each of the migration entries using the configurations. * * @param {string} migrationPath * @returns {Promise} */ export declare function resolveSqlMigrations(migrationPath: string): Promise; /** * Resolve all the migration source for each of the migration entries using the configurations. * * @param {string} migrationPath * @param {string} extension * @returns {Promise} */ export declare function resolveJavaScriptMigrations(migrationPath: string, extension?: string): Promise;