import { Logger } from '../../logger'; import { IDatabase, IDatabaseTransaction } from '../../storage'; import { Database, Migration, MigrationContext } from '../migration'; import { DecryptedAccountValue as NewDecryptedAccountValue } from './000-encrypted-wallet-template/new/accountValue'; import { DecryptedAccountValue as OldDecryptedAccountValue } from './000-encrypted-wallet-template/old/accountValue'; export declare class Migration000 extends Migration { path: string; database: Database; prepare(context: MigrationContext): IDatabase; forward(context: MigrationContext, db: IDatabase, tx: IDatabaseTransaction | undefined, logger: Logger, dryRun: boolean, walletPassphrase: string | undefined): Promise; accountForward(oldValue: OldDecryptedAccountValue): NewDecryptedAccountValue; /** * Writing a backwards migration is optional but suggested */ backward(context: MigrationContext, db: IDatabase, tx: IDatabaseTransaction | undefined, logger: Logger, dryRun: boolean, walletPassphrase: string | undefined): Promise; accountBackward(newValue: NewDecryptedAccountValue): OldDecryptedAccountValue; } //# sourceMappingURL=000-encrypted-wallet-template.d.ts.map