import { Block } from 'bitcoinjs-lib'; import { Transaction } from 'bitcoinjs-lib/src/transaction'; export declare function encodeRawInput(tx: Transaction): Buffer; export declare function encodeRawOutput(tx: Transaction): Buffer; export declare function encodeRawWitness(tx: Transaction): Buffer; export declare function getMerkleProof(block: Block, txHash: string, forWitness?: boolean): { pos: number; proof: string; root: string; };