import { Transaction } from '../transaction'; import { BytesBuilder } from '../utils/bytesBuilder'; import { BytesReader } from '../utils/bytesReader'; import type { IAuxPow, IAuxPowJSON, IMerkleBranch, IStandardBlockHeader } from './types'; declare class AuxPow implements IAuxPow { coinbaseTransaction: Transaction; blockHash: string; coinbaseBranch: IMerkleBranch; blockchainBranch: IMerkleBranch; parentBlock: IStandardBlockHeader; static fromBase(data: IAuxPow): AuxPow; constructor(coinbaseTransaction: Transaction, blockHash: string, coinbaseBranch: IMerkleBranch, blockchainBranch: IMerkleBranch, parentBlock: IStandardBlockHeader); byteLength(): number; writeToBytesBuilder(builder: BytesBuilder): BytesBuilder; toBuffer(): Uint8Array; toHex(): string; static fromBuffer(buffer: Uint8Array): AuxPow; static fromHex(hex: string): AuxPow; static fromBytesReader(reader: BytesReader): AuxPow; toAuxPowJSON(): IAuxPowJSON; static fromAuxPowJSON(auxPowJSON: IAuxPowJSON): AuxPow; } export { AuxPow, };