import { Asset, Horizon, rpc, xdr } from "@stellar/stellar-sdk"; import { Operation, Transaction } from "@stellar/stellar-sdk"; import { PendingDeposit, WithdrawArgs } from "../types.js"; import OmniService from "../bridge.js"; import { ReviewFee } from "../fee.js"; export declare const ACCOUNT_FOR_SIMULATE = "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7"; declare class StellarService { readonly omni: OmniService; readonly options: { contract?: string; sorobanRpc?: string[]; horizonRpc?: string[]; baseFee?: string; }; readonly soroban: rpc.Server[]; readonly horizon: Horizon.Server[]; readonly contract: string; readonly baseFee: string; constructor(omni: OmniService, options: { contract?: string; sorobanRpc?: string[]; horizonRpc?: string[]; baseFee?: string; }); callHorizon(fn: (rpc: Horizon.Server) => Promise): Promise; callSoroban(fn: (rpc: rpc.Server) => Promise): Promise; getWithdrawFee(): Promise; getDepositFee(sender: string, token: string, amount: bigint, intentAccount: string): Promise; isWithdrawUsed(nonce: string): Promise; isAccountExists(address: string): Promise; isTrustlineExists(sender: string, token: string): Promise; buildDepositTx(sender: string, token: string, amount: bigint, receiver: Buffer): Promise, Operation[]>>; deposit(args: { token: string; amount: bigint; intentAccount: string; sender: string; sendTransaction: (tx: Transaction) => Promise; }): Promise; withdraw(args: WithdrawArgs & { sender: string; sendTransaction: (tx: Transaction) => Promise; }): Promise; clearDepositNonceIfNeeded(_: PendingDeposit): Promise; parseDeposit(hash: string): Promise; activateToken(args: { token: string | Asset; sender: string; sendTransaction: (tx: Transaction) => Promise; }): Promise; buildSmartContactTx(publicKey: string, contactId: string, method: string, ...args: any[]): Promise, Operation[]>>; assetsCache: Map; getAssetFromContractId(id: string): Promise; getTokenBalance(token: Asset | string, contract?: string): Promise; i128ToInt(val: xdr.Int128Parts): string; } export default StellarService;