import type { CaipAddress, CaipNetworkId } from '@reown/appkit-common'; import { FetchUtil, type RequestArguments } from '../utils/FetchUtil.js'; import type { BlockchainApiBalanceResponse, BlockchainApiGasPriceRequest, BlockchainApiGasPriceResponse, BlockchainApiGenerateApproveCalldataRequest, BlockchainApiGenerateApproveCalldataResponse, BlockchainApiGenerateSwapCalldataRequest, BlockchainApiGenerateSwapCalldataResponse, BlockchainApiGetAddressBalanceRequest, BlockchainApiIdentityRequest, BlockchainApiIdentityResponse, BlockchainApiLookupEnsName, BlockchainApiRegisterNameParams, BlockchainApiSuggestionResponse, BlockchainApiSwapAllowanceRequest, BlockchainApiSwapQuoteRequest, BlockchainApiSwapQuoteResponse, BlockchainApiSwapTokensRequest, BlockchainApiSwapTokensResponse, BlockchainApiTokenPriceRequest, BlockchainApiTokenPriceResponse, BlockchainApiTransactionsRequest, BlockchainApiTransactionsResponse, GenerateOnRampUrlArgs, GetQuoteArgs, OnrampQuote, PaymentCurrency, PurchaseCurrency } from '../utils/TypeUtil.js'; export interface BlockchainApiControllerState { clientId: string | null; api: FetchUtil; supportedChains: { http: CaipNetworkId[]; ws: CaipNetworkId[]; }; } export declare const BlockchainApiController: { state: BlockchainApiControllerState; get(request: RequestArguments): Promise; getSdkProperties(): { st: "appkit"; sv: import("../utils/TypeUtil.js").SdkVersion; }; isNetworkSupported(networkId?: CaipNetworkId): Promise; getSupportedNetworks(): Promise<{ http: CaipNetworkId[]; ws: CaipNetworkId[]; }>; fetchIdentity({ address }: BlockchainApiIdentityRequest): Promise; fetchTransactions({ account, cursor, signal, cache, chainId }: BlockchainApiTransactionsRequest): Promise; fetchSwapQuote({ amount, userAddress, from, to, gasPrice }: BlockchainApiSwapQuoteRequest): Promise; fetchSwapTokens({ chainId }: BlockchainApiSwapTokensRequest): Promise; getAddressBalance({ caipNetworkId, address, method, params }: BlockchainApiGetAddressBalanceRequest): Promise; fetchTokenPrice({ addresses, caipNetworkId }: BlockchainApiTokenPriceRequest): Promise; fetchSwapAllowance({ tokenAddress, userAddress }: BlockchainApiSwapAllowanceRequest): Promise<{ allowance: string; }>; fetchGasPrice({ chainId }: BlockchainApiGasPriceRequest): Promise; generateSwapCalldata({ amount, from, to, userAddress, disableEstimate }: BlockchainApiGenerateSwapCalldataRequest): Promise; generateApproveCalldata({ from, to, userAddress }: BlockchainApiGenerateApproveCalldataRequest): Promise; getBalance(address: string, chainId?: string, forceUpdate?: string): Promise; lookupEnsName(name: string): Promise; reverseLookupEnsName({ address }: { address: string; }): Promise; getEnsNameSuggestions(name: string): Promise; registerEnsName({ coinType, address, message, signature }: BlockchainApiRegisterNameParams): Promise; generateOnRampURL({ destinationWallets, partnerUserId, defaultNetwork, purchaseAmount, paymentAmount }: GenerateOnRampUrlArgs): Promise; getOnrampOptions(): Promise<{ paymentCurrencies: PaymentCurrency[]; purchaseCurrencies: PurchaseCurrency[]; }>; getOnrampQuote({ purchaseCurrency, paymentCurrency, amount, network }: GetQuoteArgs): Promise; getSmartSessions(caipAddress: CaipAddress): Promise; revokeSmartSession(address: `0x${string}`, pci: string, signature: string): Promise; setClientId(clientId: string | null): void; };