///
import * as bitcoinjs from 'bitcoinjs-lib';
import { Network } from '../networks';
export declare function varSliceSize(slice: Buffer): number;
export declare class UtxoTransaction extends bitcoinjs.Transaction {
network: Network;
static SIGHASH_FORKID: number;
/** @deprecated use SIGHASH_FORKID */
static SIGHASH_BITCOINCASHBIP143: number;
constructor(network: Network, transaction?: bitcoinjs.Transaction, amountType?: 'bigint' | 'number');
protected static newTransaction(network: Network, transaction?: bitcoinjs.Transaction, amountType?: 'number' | 'bigint'): UtxoTransaction;
static fromBuffer(buf: Buffer, noStrict: boolean, amountType?: 'number' | 'bigint', network?: Network, prevOutput?: bitcoinjs.TxOutput[]): UtxoTransaction;
addForkId(hashType: number): number;
hashForWitnessV0(inIndex: number, prevOutScript: Buffer, value: TNumber, hashType: number): Buffer;
/**
* Calculate the hash to verify the signature against
*/
hashForSignatureByNetwork(inIndex: number, prevoutScript: Buffer, value: TNumber | undefined, hashType: number): Buffer;
hashForSignature(inIndex: number, prevOutScript: Buffer, hashType: number, value?: TNumber): Buffer;
clone(amountType?: 'number' | 'bigint'): UtxoTransaction;
}
//# sourceMappingURL=UtxoTransaction.d.ts.map