import type { Address } from '../../accounts/index.js'; import type { Client } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { AccountNotFoundErrorType } from '../../errors/account.js'; import type { BaseErrorType } from '../../errors/base.js'; import type { Account, GetAccountParameter } from '../../types/account.js'; import type { BlockTag } from '../../types/block.js'; import type { Chain } from '../../types/chain.js'; import { type TokenIsEthErrorType } from '../errors/token-is-eth.js'; export type GetL1TokenBalanceParameters = GetAccountParameter & { token: Address; } & ({ /** The balance of the account at a block number. */ blockNumber?: bigint | undefined; blockTag?: undefined; } | { blockNumber?: undefined; /** The balance of the account at a block tag. */ blockTag?: BlockTag | undefined; }); export type GetL1TokenBalanceReturnType = bigint; export type GetL1TokenBalanceErrorType = AccountNotFoundErrorType | TokenIsEthErrorType | BaseErrorType; export declare function getL1TokenBalance(client: Client, parameters: GetL1TokenBalanceParameters): Promise; //# sourceMappingURL=getL1TokenBalance.d.ts.map