import { DefiBoxPair } from '../types/user'; import { Client } from '../client'; import { TransactResult } from '@wharfkit/session'; export declare enum DefiBoxPairEnum { EosEfx = 191, EosUsdt = 12 } export declare enum swapDirection { EfxToUsdt = "191-12", UsdtToEfx = "12-191" } export declare class TokenService { private client; constructor(client: Client); /** * Returns a DefiBox pair, * @param pairEnum DefiBoxPairEnum * @returns DefiBoxPair */ getDefiBoxPair(pairEnum: DefiBoxPairEnum): Promise; /** * Returns the current EFX price in USDT from DefiBox * @returns EFX price in USDT */ getEfxPrice(): Promise; /** * Deposit EFX into vaccount */ deposit(amount: number): Promise; /** * TODO * Withdraw EFX from vaccount */ /** * TODO * Claim EFX from vaccount to user */ /** * TODO * Claim EFX from vaccount to staking account. */ /** * Swaps out of EFX into USDT * @param amount The amount of EFX to swap out of * @returns TransactResult */ swapOut(amount: number): Promise; /** * Swaps into EFX from USDT * @param amount The amount of USDT to swap into EFX * @returns TransactResult */ swapIn(amount: number): Promise; }