import { TransactionResult } from "./DataRetrieval" export declare interface RawTransactions { restURL: string decodeRawTransaction: (hex: string) => Promise decodeScript: (hex: string) => Promise getRawTransaction: (txid: string, verbose?: boolean) => Promise sendRawTransaction: (hex: string, allowhighfees?: boolean) => Promise change(rawtx: string, prevTxs: TransactionInput[], destination: string, fee: number, position?: number): Promise input(rawtx: string, txid: string, n: number): Promise opReturn(rawtx: string, payload: string): Promise reference(rawtx: string, destination: string, amount?: number): Promise decodeTransaction(rawtx: string, prevTxs?: TransactionInput[], height?: number): Promise create(inputs: TransactionInput[], outputs?: TransactionOutput): Promise } export declare interface TransactionInput { txid: string vout: number scriptPubKey: string value: number } export declare interface TransactionOutput { address: string data: string }