import { type Account, type Address, type Chain, type Client, type GetChainParameter, type Transport } from "viem"; import type { PimlicoRpcSchema } from "../../types/pimlico.js"; export type GetTokenQuotesParameters = { tokens: Address[]; entryPointAddress: Address; } & GetChainParameter; export type GetTokenQuotesReturnType = { paymaster: Address; token: Address; postOpGas: bigint; exchangeRate: bigint; exchangeRateNativeToUsd: bigint; balanceSlot?: bigint; allowanceSlot?: bigint; }[]; /** * Returns all related fields to calculate the potential cost of a userOperation in ERC-20 tokens. * * - Docs: https://docs.pimlico.io/references/paymaster/erc20-paymaster/endpoints/pimlico_getTokenQuotes * * @param client that you created using viem's createClient whose transport url is pointing to the Pimlico's bundler. * @returns slow, standard & fast values for maxFeePerGas & maxPriorityFeePerGas * @returns quotes, see {@link GetTokenQuotesReturnType} * */ export declare const getTokenQuotes: (client: Client, args: GetTokenQuotesParameters) => Promise; //# sourceMappingURL=getTokenQuotes.d.ts.map