import { Tx } from 'bsv'; import { IBlockchain } from './iblockchain'; import { IUTXO } from './interfaces'; import { SignedMessage } from './signed-message'; export declare class RestBlockchain implements IBlockchain { apiUrl: string; network: string; cache: { get: (key: string) => any; set: (key: string, value: any) => any; }; mapiKey?: string; protected debug: boolean; private requests; constructor(apiUrl: string, network: string, cache?: { get: (key: string) => any; set: (key: string, value: any) => any; }, mapiKey?: string, debug?: boolean); get bsvNetwork(): string; broadcast(rawtx: any): Promise; retrieveOutputs(tx: Tx): Promise<[unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown, unknown]>; fetch(txid: string): Promise; time(txid: string): Promise; spends(txid: string, vout: number): Promise; utxos(owner: 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; loadJigData(loc: string, unspent?: boolean): Promise; jigQuery(query: any): Promise; fund(address: string, satoshis?: number): Promise; balance(script: any, scriptType?: string): Promise; sendMessage(message: SignedMessage, postTo?: string): Promise; }