import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js'; import { IndexerGrpcAccountPortfolioApi, ChainGrpcWasmApi } from '@injectivelabs/sdk-ts'; import { MsgBroadcaster } from '@injectivelabs/wallet-core'; import { InjectiveRpcConfig, XToken } from '@sodax/types'; import { WalletStrategy } from '@sodax/libs/injective/wallet-strategy'; import { Wallet } from '@injectivelabs/wallet-base'; declare class InjectiveXService extends XService { private static instance; walletStrategy: WalletStrategy; indexerGrpcAccountPortfolioApi: IndexerGrpcAccountPortfolioApi; chainGrpcWasmApi: ChainGrpcWasmApi; msgBroadcaster: MsgBroadcaster; private constructor(); /** * @param rpcConfig - Only applied on first call. Subsequent calls return the * existing instance unchanged — gRPC/Indexer clients are built in the * constructor and can't be rebuilt at runtime. Pass the desired endpoints * via `SodaxWalletProvider.config.rpcConfig` once at app init. */ static getInstance(rpcConfig?: InjectiveRpcConfig): InjectiveXService; getBalance(address: string | undefined, xToken: XToken): Promise; } declare class InjectiveXConnector extends XConnector { private wallet; constructor(name: string, wallet: Wallet); getXService(): InjectiveXService; connect(): Promise; disconnect(): Promise; get icon(): string | undefined; get isInstalled(): boolean; } export { InjectiveXConnector, InjectiveXService };