import { ApiResponse, OracleFeeEstimate, OracleQuery, OracleSpendData, OracleSpendState, OracleTxData } from '../types/index.js';
export declare function get_tx_data(host: string, txid: string): Promise<OracleTxData | null>;
export declare function get_spend_state(host: string, txid: string, vout: number): Promise<OracleSpendState | null>;
export declare function get_spend_data(host: string, query: OracleQuery): Promise<OracleSpendData | null>;
export declare function broadcast_tx(host: string, txhex: string): Promise<ApiResponse<string>>;
export declare function fee_estimates(host: string): Promise<OracleFeeEstimate>;
export declare function get_fee_target(host: string, target: number): Promise<number>;
export declare function fetcher<T>(input: URL | RequestInfo, init?: RequestInit, fetcher?: typeof fetch): Promise<ApiResponse<T>>;
export declare function resolve_json<T>(res: Response): Promise<ApiResponse<T>>;
