import { RestService, type RestServiceOptions } from "../lib/rest-service"; import type { EstimateTimeSpentParams, GetContractsResponse, GetFeesParams, GetGasPriceParams, GetGMPChartParams, GetGMPCumulativeVolumeParams, GetGMPCumulativeVolumeResponse, GetGMPStatisticsParams, GetGMPStatisticsResponse, GetGMPTotalVolumeParams, SearchGMPParams, SearchGMPResponse } from "./types"; export declare class GMPClient extends RestService { static init(options: RestServiceOptions): GMPClient; /** * Provides query-based access to GMP transfers and related transactions and statuses. * * @param params {SearchGMPParams} - The search parameters. * @returns {Promise} */ searchGMP(params: SearchGMPParams): Promise; /** * Returns the statistics of the General Message Passing (GMP) calls * by each combination of source chain, destination chain, and assets. * * @param params * @returns */ getGMPStatistics(params: GetGMPStatisticsParams): Promise; getGMPChart(params: GetGMPChartParams): Promise<{ timestamp: number; num_txs: number; }[]>; getGMPCumulativeVolume(params: GetGMPCumulativeVolumeParams): Promise; getGMPTotalVolume(params: GetGMPTotalVolumeParams): Promise; estimateTimeSpent(params: EstimateTimeSpentParams): Promise<{ time_spent: number; }>; getGasPrice(params: GetGasPriceParams): Promise<{ source_token: { token_price: { usd: number; }; gas_price: string; symbol: string; gas_price_gwei: string; decimals: number; name: string; contract_address: `0x${string}`; }; destination_native_token: { token_price: { usd: number; }; gas_price: string; symbol: string; gas_price_gwei: string; decimals: number; name: string; contract_address: `0x${string}`; }; }>; getGasSymbols(): Promise; getFees(params: GetFeesParams): Promise; getContracts(): Promise; }