import type { Chain } from "../../chains/types.js"; import type { ThirdwebClient } from "../../client/client.js"; import type { Account } from "../interfaces/wallet.js"; type GetTokenBalanceOptions = { account: Pick; client: ThirdwebClient; chain: Chain; /** * (Optional) The address of the token to retrieve the balance for. If not provided, the balance of the native token will be retrieved. */ tokenAddress?: string; }; type GetTokenBalanceResult = { value: bigint; decimals: number; displayValue: string; symbol: string; name: string; }; /** * Retrieves the balance of a token for a given wallet. * @param options - The options for retrieving the token balance. * @returns A promise that resolves to the token balance result. * @example * ```ts * import { getTokenBalance } from "thirdweb/wallets"; * const balance = await getTokenBalance({ account, client, chain, tokenAddress }); * ``` */ export declare function getTokenBalance(options: GetTokenBalanceOptions): Promise; export {}; //# sourceMappingURL=getTokenBalance.d.ts.map