import type { FeeRecommendations, UTXO } from '../types'; /** * Service for interacting with the mempool.space API */ export declare class MempoolApiService { /** * Gets the base URL for the mempool API based on the address network * @param address - Bitcoin address to determine network * @returns The mempool API base URL */ private getBaseUrl; /** * Gets UTXOs for a Bitcoin address from mempool.space API * @param address - The Bitcoin address to get UTXOs for * @returns Array of UTXOs * @throws {DynamicError} If fetching UTXOs fails */ getUTXOs(address: string): Promise; /** * Gets fee recommendations from mempool.space API * @param address - The Bitcoin address to determine the network from * @returns Fee recommendation data * @throws {Error} If fetching fee recommendations fails */ getFeeRecommendations(address: string): Promise; /** * Estimates transaction fees based on number of inputs and outputs using accurate vSize * @param address - The Bitcoin address to determine the network from * @param numInputs - Number of transaction inputs * @param numOutputs - Number of transaction outputs * @param feePriority - Fee priority level (high/medium/low) * @returns Estimated fee in satoshis */ estimateTransactionFee(address: string, numInputs: number, numOutputs: number, feePriority?: 'high' | 'medium' | 'low'): Promise; /** * Sends a raw Bitcoin transaction to the mempool * @param address - The Bitcoin address to determine the network from * @param rawTransaction - The raw transaction in hex format * @returns The transaction ID * @throws {DynamicError} If no transaction is specified or sending fails */ sendRawTransaction(address: string, rawTransaction: string): Promise; }