import { Knex } from 'knex'; import { Chain } from '../../../../sdk'; interface Migration { up: (knex: Knex) => PromiseLike; down?: (knex: Knex) => PromiseLike; } interface MigrationSource { getMigrations: (loadExtensions: readonly string[]) => Promise; getMigrationName: (migration: TMigrationSpec) => string; getMigration: (migration: TMigrationSpec) => Promise; } export declare class ChaintracksKnexMigrations implements MigrationSource { chain: Chain; migrations: Record; constructor(chain: Chain); getMigrations(): Promise; getMigrationName(migration: string): string; getMigration(migration: string): Promise; getLatestMigration(): Promise; static latestMigration(): Promise; setupMigrations(): Record; } export {}; //# sourceMappingURL=ChaintracksKnexMigrations.d.ts.map