import { Knex } from 'knex'; import { DBType } from '../StorageReader'; import { Chain } from '../../sdk/types'; export declare const SYNC_TRANSFER_MIGRATION = "2026-09-09-001 add bounded sync transfers"; export declare const AUTH_SESSION_MIGRATION = "2026-07-14-001 add shared auth sessions"; export declare const AUTH_MESSAGE_NONCE_MIGRATION = "2026-09-16-001 add auth message replay claims"; export declare const MONITOR_CREATED_AT_INDEX_MIGRATION = "2026-07-14-002 add monitor created index"; export declare const CREATE_ACTION_FUNDING_INDEX_MIGRATION = "2026-08-02-001 add createAction funding selection index"; export declare const PAYMENT_REPLAY_MIGRATION = "2026-08-04-001 add payment replay claims"; export declare const MANAGED_CHANGE_POLICY_MIGRATION = "2026-08-10-001 upgrade managed change liquidity defaults"; export declare const PREPARED_BEEF_MIGRATION = "2026-08-31-001 add prepared beef artifacts"; export declare const BRC177_NO_SEND_EXPIRY_MIGRATION = "2026-08-30-001 add brc177 nosend expiry state"; export declare const WALLET_SYNC_SOURCE_INDEX_MIGRATION = "2026-08-17-001 add wallet sync source indexes"; export declare const INTERNALIZE_RECEIPT_MIGRATION = "2026-10-13-001 coordinate wallet receipt ownership"; interface Migration { up: (knex: Knex) => Promise; down?: (knex: Knex) => Promise; config?: object; } interface MigrationSource { getMigrations: (loadExtensions: readonly string[]) => Promise; getMigrationName: (migration: TMigrationSpec) => string; getMigration: (migration: TMigrationSpec) => Promise; } export declare class KnexMigrations implements MigrationSource { chain: Chain; storageName: string; storageIdentityKey: string; maxOutputScriptLength: number; migrations: Record; /** * @param chain * @param storageName human readable name for this storage instance * @param maxOutputScriptLength limit for scripts kept in outputs table, longer scripts will be pulled from rawTx */ constructor(chain: Chain, storageName: string, storageIdentityKey: string, maxOutputScriptLength: number); getMigrations(): Promise; getMigrationName(migration: string): string; getMigration(migration: string): Promise; getLatestMigration(): Promise; static latestMigration(): Promise; setupMigrations(chain: string, storageName: string, storageIdentityKey: string, maxOutputScriptLength: number): Record; } /** * @param knex * @returns {DBType} connected database engine variant */ export declare function determineDBType(knex: Knex): Promise; export {}; //# sourceMappingURL=KnexMigrations.d.ts.map