import type { Dnum } from 'dnum'; /** * SOL held back when the source is native SOL, which also pays the fee. * - The rent-exempt minimum: Solana rejects leaving the payer between 0 and it * (0.00089088 SOL before SIMD-0437 began lowering it in 2026). * - Headroom for the priority fee added at signing, which quotes leave out * (up to ~56k lamports on Relay SOL deposits in Oct 2026). */ export declare const SOLANA_NATIVE_FEE_RESERVE = "0.0025"; /** * Which fee reserve a source token needs, by the VM that charges the fee: * - `evm`: native ETH/BNB/POL; reserve live gas. * - `svm`: native SOL; reserve {@link SOLANA_NATIVE_FEE_RESERVE}. * * `undefined` when the fee isn't paid from this token (ERC-20, SPL, Hypercore USDC). */ export type NativeFeeReserveType = 'evm' | 'svm'; export declare function getNativeFeeReserveType(chainId: string, tokenAddress: string): NativeFeeReserveType | undefined; /** * The most a source token can send: the balance less its fee reserve, floored * at zero, in the balance's decimals. An EVM native source without a gas * reserve (a chain that can't be priced) gets the full balance. */ export declare function getMaxSpendableAmount({ balance, chainId, tokenAddress, evmGasReserve, }: { balance: Dnum; chainId: string; tokenAddress: string; evmGasReserve?: Dnum; }): Dnum;