import { type BitcoinNetworkModes, type BitcoinTx, MarketData, Money } from '@leather-wallet/models'; import { UtxoResponseItem } from '../../types/utxo'; interface BestinslotInscription { inscription_name: string | null; inscription_id: string; inscription_number: number; metadata: any | null; wallet: string; mime_type: string; media_length: number; genesis_ts: number; genesis_height: number; genesis_fee: number; output_value: number; satpoint: string; collection_name: string | null; collection_slug: string | null; last_transfer_block_height: number; content_url: string; bis_url: string; byte_size: number; } export interface BestinSlotInscriptionByIdResponse { data: BestinslotInscription; block_height: number; } export interface BestinSlotInscriptionsByTxIdResponse { data: { inscription_id: string; }[]; blockHeight: number; } export interface Brc20Balance { ticker: string; overall_balance: string; available_balance: string; transferrable_balance: string; image_url: string | null; min_listed_unit_price: number | null; } export interface Brc20TickerInfo { id: string; number: number; block_height: number; tx_id: string; address: string; ticker: string; max_supply: string; mint_limit: string; decimals: number; deploy_timestamp: number; minted_supply: string; tx_count: number; } interface Brc20TickerInfoResponse { block_height: number; data: Brc20TickerInfo; } interface Brc20WalletBalancesResponse { block_height: number; data: Brc20Balance[]; } export interface Brc20Token { balance: Money | null; holderAddress: string; marketData: MarketData | null; tokenData: Brc20Balance & Brc20TickerInfo; } export interface RuneBalance { pkscript: string; rune_id: string; rune_name: string; spaced_rune_name: string; total_balance: string; wallet_addr: string; } export interface RuneTickerInfo { rune_id: string; rune_number: string; rune_name: string; spaced_rune_name: string; symbol: string; decimals: number; per_mint_amount: string; mint_cnt: string; mint_cnt_limit: string; premined_supply: string; total_minted_supply: string; burned_supply: string; circulating_supply: string; mint_progress: number; mint_start_block: number | null; mint_end_block: number | null; genesis_block: number; deploy_ts: string; deploy_txid: string; auto_upgrade: boolean; holder_count: number; event_count: number; mintable: boolean; } export interface RunesOutputsByAddress { pkscript: string; wallet_addr: string; output: string; rune_ids: string[]; balances: number[]; rune_names: string[]; spaced_rune_names: string[]; } interface RunesOutputsByAddressArgs { address: string; network?: BitcoinNetworkModes; sortBy?: 'output'; order?: 'asc' | 'desc'; offset?: number; count?: number; signal?: AbortSignal; } declare function BestinSlotApi(): { getInscriptionsByTransactionId: (id: string) => Promise; getInscriptionById: (id: string) => Promise; getBrc20Balances: (address: string) => Promise; getBrc20TickerInfo: (ticker: string) => Promise; getRunesWalletBalances: (address: string, network: BitcoinNetworkModes) => Promise; getRunesTickerInfo: (runeName: string, network: BitcoinNetworkModes) => Promise; getRunesBatchOutputsInfo: (outputs: string[], network: BitcoinNetworkModes) => Promise; getRunesOutputsByAddress: ({ address, network, sortBy, order, offset, count, signal, }: RunesOutputsByAddressArgs) => Promise; }; declare function AddressApi(basePath: string): { getTransactionsByAddress(address: string, signal?: AbortSignal): Promise; getUtxosByAddress(address: string, signal?: AbortSignal): Promise; }; export interface FeeResult { fast: number; medium: number; slow: number; } declare function FeeEstimatesApi(): { getFeeEstimatesFromBlockcypherApi(network: 'main' | 'test3'): Promise; getFeeEstimatesFromMempoolSpaceApi(): Promise; }; declare function TransactionsApi(basePath: string): { getBitcoinTransaction(txid: string): Promise; getBitcoinTransactionHex(txid: string): Promise; broadcastTransaction(tx: string): Promise; }; export interface BitcoinClient { addressApi: ReturnType; feeEstimatesApi: ReturnType; transactionsApi: ReturnType; BestinSlotApi: ReturnType; } export declare function bitcoinClient(basePath: string): BitcoinClient; export declare function useBitcoinClient(): BitcoinClient; export {}; //# sourceMappingURL=bitcoin-client.d.ts.map