import { type Amount } from "../types"; import type { SDKContext } from "./context"; /** * Token wrapping and unwrapping operations */ export declare class TokensManager { private context; constructor(context: SDKContext); /** * Wrap native asset into wrapped native asset (e.g. ETH into WETH, POL into WPOL). * Wrapped native assets are needed for making offers. * @param options * @param options.amountInEth Amount of native asset to wrap * @param options.accountAddress Address of the user's wallet containing the native asset */ wrapEth({ amountInEth, accountAddress, }: { amountInEth: Amount; accountAddress: string; }): Promise; /** * Unwrap wrapped native asset into native asset (e.g. WETH into ETH, WPOL into POL). * Emits the `UnwrapWeth` event when the transaction is prompted. * @param options * @param options.amountInEth How much wrapped native asset to unwrap * @param options.accountAddress Address of the user's wallet containing the wrapped native asset */ unwrapWeth({ amountInEth, accountAddress, }: { amountInEth: Amount; accountAddress: string; }): Promise; }