import { RpcClient } from './client'; import { RpcConfig, TxDetail, RawTransaction, DecodedRawTransaction, MultisigInfo, PreimageInfo, PreimageListEntry, BlockHeaderInfo, RpcScriptAnalysis, RpcScriptValidationResult, RpcBuildScriptResult, RpcSetScriptSigResult, RpcSigHashResult, RpcDecodedScriptSig, RpcVerifyScriptPairResult, IndexerInfo, MempoolTxInfo } from '../types/rpc'; import { Block, BlockTemplate, MiningInfo } from '../types/block'; import { NetworkInfo, PeerInfo } from '../types/network'; import { UTXO } from '../types/transaction'; export declare class BitokRpc { readonly client: RpcClient; constructor(config: RpcConfig); getBlockCount(): Promise; getBlockNumber(): Promise; getBestBlockHash(): Promise; getBlockHash(height: number): Promise; getBlock(hash: string): Promise; getBlockHeader(hash: string): Promise; getInfo(): Promise; getDifficulty(): Promise; getTransaction(txid: string): Promise; getRawTransaction(txid: string, verbose?: 0): Promise; getRawTransaction(txid: string, verbose: 1): Promise; decodeRawTransaction(hexString: string): Promise; createRawTransaction(inputs: Array<{ txid: string; vout: number; sequence?: number; }>, outputs: Record, locktime?: number): Promise; signRawTransaction(hexString: string, prevTxs?: Array<{ txid: string; vout: number; scriptPubKey: string; }>, privateKeys?: string[], sighashType?: string): Promise<{ hex: string; complete: boolean; }>; sendRawTransaction(hexString: string): Promise; decodeScript(hexScript: string): Promise<{ asm: string; hex: string; type: string; reqSigs?: number; addresses?: string[]; }>; getMempool(): Promise; getAddressMempool(address: string): Promise; getTxOutProof(txid: string, blockHash?: string): Promise; verifyTxOutProof(proof: string): Promise; getIndexerInfo(): Promise; getAddressTxids(address: string): Promise; getAddressUtxos(address: string): Promise; getAddressBalance(address: string): Promise; createMultisig(nRequired: number, keys: string[]): Promise; analyzeScript(scriptHex: string): Promise; validateScript(scriptHex: string, stack?: string[], flags?: string): Promise; buildScript(items: string[]): Promise; setScriptSig(rawTxHex: string, vinIndex: number, scriptSig: string | string[]): Promise; getScriptSigHash(rawTxHex: string, vinIndex: number, scriptPubKeyHex: string, sighashType?: string): Promise; decodeScriptSig(scriptSigHex: string, scriptPubKeyHex: string): Promise; verifyScriptPair(rawTxHex: string, vinIndex: number, scriptPubKeyHex: string, flags?: string): Promise; addPreimage(preimageHex: string): Promise; listPreimages(): Promise; getMiningInfo(): Promise; getBlockTemplate(): Promise; submitBlock(hexData: string): Promise; getWork(data?: string): Promise; setGenerate(generate: boolean, processorLimit?: number): Promise; getGenerate(): Promise; getConnectionCount(): Promise; getPeerInfo(): Promise; help(): Promise; stop(): Promise; } //# sourceMappingURL=api.d.ts.map