import { Settings } from 'graphile-migrate'; import { CompareMigrationHashesErrorCallback, MigrationRecord } from './types'; /** * Finds path to `migrations` folder, based on passed Settings. * 'graphile-migrate' package parses all settings into internal ParsedSettings interface. * Settings Parser function is not exported, logic to determine path to folder was copied from the library source code. * Source, function `parseSettings`: https://github.com/graphile/migrate/blob/main/src/settings.ts#L172 * @param settings - migration configuration object. * @returns string representing path to `migrations` directory. */ export declare const getMigrationsPath: (settings: Settings) => string; export declare function getFileMigrationRecords(migrationsDirectory: string, errorCallback: CompareMigrationHashesErrorCallback): Promise; export declare function getMigrationHistoryRecords(connectionString: string | undefined | null, _errorCallback: CompareMigrationHashesErrorCallback): Promise; //# sourceMappingURL=compare-migration-hashes-helpers.d.ts.map