import { Knex } from 'knex'; export declare class BlockDB { private connection; constructor(connection: Knex); getOne(): Promise; getByIndepHash(indepHash: string): Promise; mine(height: number, previous: string, txs: string[]): Promise; getLastBlock(): Promise; getByHeight(height: number): Promise; /** * * @param id Genesis block ID/indep_hash */ insertGenesis(id: string): Promise; }