UNPKG

@bsv/wallet-toolbox

Version:

BRC100 conforming wallet, wallet storage and wallet signer components

20 lines 781 B
import { Knex } from 'knex'; interface Migration { up: (knex: Knex) => Promise<void>; down?: (knex: Knex) => Promise<void>; } interface MigrationSource<TMigrationSpec> { getMigrations(loadExtensions: readonly string[]): Promise<TMigrationSpec[]>; getMigrationName(migration: TMigrationSpec): string; getMigration(migration: TMigrationSpec): Promise<Migration>; } export declare class MockChainMigrations implements MigrationSource<string> { migrations: Record<string, Migration>; constructor(); getMigrations(): Promise<string[]>; getMigrationName(migration: string): string; getMigration(migration: string): Promise<Migration>; setupMigrations(): Record<string, Migration>; } export {}; //# sourceMappingURL=MockChainMigrations.d.ts.map