import { ethers } from "ethers"; /** Encode `deposit(amount, dexId)` on the Hyperliquid CoreDepositWallet to bridge USDC into HyperCore. */ export declare const getDepositHyperliquidTxData: (dexId: number, amount: ethers.BigNumber | string) => string; /** * Encode a CoreWriter `sendRawAction` for SPOT_SEND that bridges USDC from the * HyperCore Spot wallet back to EVM. Amount is supplied in 6 decimals (EVM USDC) and * scaled up by 100 for HyperCore's 8-decimal USDC. */ export declare const getWithdrawSpotHyperliquidTxData: (amount: ethers.BigNumber | string) => string; /** * Encode a CoreWriter `sendRawAction` for SEND_ASSET that moves USDC between * HyperCore dexes (perp/spot/xyz). Amount is supplied in 6 decimals (EVM USDC) and * scaled to HyperCore's 8 decimals. */ export declare const getSendAssetHyperliquidTxData: (sourceDex: number, destinationDex: number, receiver: string, amount: ethers.BigNumber | string) => string; /** * Encode a CoreWriter `sendRawAction` for an IOC limit order on a Hyperliquid asset. * Auto-flips side and sets `reduceOnly` when `changeAmount` is negative (perp close). * Price is offset by `slippage`% from the current mid in the direction of execution. */ export declare const getLimitOrderHyperliquidTxData: (assetId: number, isLong: boolean, changeAmount: number, slippage: number) => Promise; /** * Encode a CoreWriter `sendRawAction` for an IOC limit order that closes * `percentageToClose`% of the pool's current Hyperliquid position. Reads the * existing position size on-chain to determine the side (buy to close shorts, * sell to close longs). */ export declare const getClosePositionHyperliquidTxData: (assetId: number, percentageToClose: number, slippage: number, poolAddress: string) => Promise;