import { IUTXO } from "./interfaces"; export interface IBlockchain { broadcast(rawtx: string): Promise; network: string; broadcast(rawtx: any): Promise; fetch(txid: string): Promise; time(txid: string): Promise; spends(txid: string, vout: number): Promise; utxos(script: string, ownerType?: string, limit?: number): Promise; utxoCount(script: string): Promise; loadParents(rawtx: string): Promise<{ script: string; satoshis: number; }[]>; applyPayments(rawtx: any, payments: { from: string; amount: number; }[], payer?: string, changeSplitSats?: number, satsPerByte?: number): Promise; balance(script: any, scriptType?: string): Promise; }