import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js'; import { StellarWalletsKit } from '@creit.tech/stellar-wallets-kit'; import * as StellarSdk from '@stellar/stellar-sdk'; import { rpc, Transaction, Memo, MemoType, Operation, FeeBumpTransaction } from '@stellar/stellar-sdk'; import { XToken } from '@sodax/types'; declare class CustomSorobanServer extends rpc.Server { private readonly customHeaders; constructor(serverUrl: string, customHeaders: Record); simulateTransaction(tx: Transaction, Operation[]>): Promise; sendTransaction(tx: Transaction | FeeBumpTransaction): Promise; getTransaction(hash: string): Promise; } declare class StellarXService extends XService { private static instance; walletsKit: StellarWalletsKit; server: StellarSdk.Horizon.Server; sorobanServer: CustomSorobanServer; private constructor(); static getInstance(horizonRpcUrl?: string, sorobanRpcUrl?: string): StellarXService; getBalance(address: string | undefined, xToken: XToken): Promise; } type StellarWalletType = { icon: string; id: string; isAvailable: boolean; name: string; type: string; url: string; }; declare class StellarWalletsKitXConnector extends XConnector { _wallet: StellarWalletType; constructor(wallet: StellarWalletType); getXService(): StellarXService; connect(): Promise; disconnect(): Promise; get icon(): string; get isInstalled(): boolean; get installUrl(): string | undefined; } export { StellarWalletsKitXConnector, StellarXService };