import type { BaseTransactionOptions } from "../../../transaction/types.js"; /** * Represents the parameters for retrieving the balance of an address. * @extension ERC20 */ export type GetBalanceParams = { /** * The address for which to retrieve the balance. */ address: string; }; /** * Represents the result of a balance query for an ERC20 token. * @extension ERC20 */ export type GetBalanceResult = { value: bigint; decimals: number; displayValue: string; symbol: string; name: string; tokenAddress: string; chainId: number; }; /** * Retrieves the balance of an ERC20 token for a specific address. * @param options - The transaction options including the address. * @returns An object containing the balance value, display value, and symbol. * @extension ERC20 * @example * ```ts * import { getBalance } from "thirdweb/extensions/erc20"; * * const balance = await getBalance({ contract, address: "0x..." }); * ``` */ export declare function getBalance(options: BaseTransactionOptions): Promise; //# sourceMappingURL=getBalance.d.ts.map