import { AggregatorClient, RouterDataV3 } from "@cetusprotocol/aggregator-sdk"; import { Transaction, TransactionObjectArgument } from "@mysten/sui/transactions"; export type { RouterDataV3 } from "@cetusprotocol/aggregator-sdk"; export declare class CetusSwap { network: "mainnet" | "testnet" | "devnet" | "localnet"; client: AggregatorClient; cetusRouterDataV3: RouterDataV3 | null; constructor(network: "mainnet" | "testnet" | "devnet" | "localnet"); getCetusSwapQuote(from: string, target: string, amount: string): Promise; cetusSwapTokensTxb(router: RouterDataV3, slippage: number, inputCoin?: TransactionObjectArgument | string, address?: string, existingTx?: Transaction): Promise; /** * Build swap transaction using routerSwap method (BuildRouterSwapParamsV3) * This method will completely consume the input coin amount and return target coin object. * * @param router - RouterData Object returned by findRouters method * @param txb - The programmable transaction builder * @param inputCoin - The input coin object to be swapped (will be completely consumed) * @param slippage - A value between 0 and 1, representing the maximum allowed price slippage * @returns TransactionObjectArgument - The target coin object that can be used in PTB */ routerSwapWithInputCoin(router: RouterDataV3, txb: Transaction, inputCoin: TransactionObjectArgument, slippage: number): Promise; } //# sourceMappingURL=cetusSwap.d.ts.map