import { RequestResponse } from '@otoplo/electrum-client'; import { BlockTip, IFirstUse, IListUnspentRecord, ITokenGenesis, ITokenUtxo, ITransaction, ITXHistory, IUtxo, RostrumParams, ServerFeatures } from '../types/rostrum.types'; import { Balance } from '../types/wallet.types'; import { KVStore } from '../persistence/datastore/kv'; export declare class RostrumService { private readonly kvStore; private client?; constructor(kvStore: KVStore); getFeatures(): Promise; getBlockTip(): Promise; getBalance(address: string): Promise; getTransactionsHistory(address: string, fromHeight?: number): Promise; getFirstUse(address: string): Promise; isAddressUsed(address: string): Promise; getTransaction(id: string, verbose?: boolean): Promise; getUtxo(outpoint: string): Promise; getNexaUtxos(address: string): Promise; getTokenUtxos(address: string, token: string): Promise; getTokensBalance(address: string): Promise>; getTokenGenesis(token: string): Promise; broadcast(txHex: string): Promise; subscribeHeaders(handler: (block: number) => void): Promise; subscribeAddress(address: string, handler: (data: unknown) => void): Promise; getLatency(): Promise; connect(params?: RostrumParams): Promise; disconnect(force?: boolean): Promise; private execute; private waitForConnection; getCurrentInstance(): Promise; static getPredefinedInstances(): RostrumParams[]; } //# sourceMappingURL=rostrum.d.ts.map