import { AddressMap } from "../utils/AddressMap.js"; import { Asset } from "../base/types.js"; import "../utils/index.js"; import { Address } from "viem"; //#region src/onchain/router/helpers.d.ts export declare function assetsMap(assets: Array | readonly T[]): AddressMap; /** * TODO: is this weird workaround still needed? * According to van0k, leftover balance for 0x19ebd191f7a24ece672ba13a302212b5ef7f35cb * should always be rounded up to 5e17 if amount is less than 5e17 * Should NEVER be compared with "||" since function will lose it's effect */ export declare function limitLeftover(balance: bigint | undefined, token: Address): bigint | undefined; //#endregion