import { M0LiquidityApi } from "@m0-foundation/liquidity-sdk";
/**
 * Helper to create a token key for the balances map
 */
export declare function getTokenKey(chain: string, address: string): string;
/**
 * Fetch balances for all tokens and store in tokenBalances map
 */
export declare const fetchAllTokenBalances: (walletAddress: string, assets: M0LiquidityApi.Asset[], rpcOverrides: {
    [chain: string]: string;
}) => Promise<void>;
export declare const fetchTokenBalance: (walletAddress: string, token: M0LiquidityApi.Asset, rpcOverrides: {
    [chain: string]: string;
}) => Promise<bigint>;
export declare function fetchEvmBalances(rpcUrl: string, walletAddress: string, tokenAddress: string): Promise<bigint>;
export declare function fetchSolanaBalances(rpcUrl: string, walletAddress: string, tokenAddress: string): Promise<bigint>;
