import { PublicClient, EncodeFunctionDataParameters, Address, Chain, Transport } from 'viem'; import { arbAggregatorABI } from './contracts/ArbAggregator'; import { GetFunctionName } from './types/utils'; type ArbAggregatorAbi = typeof arbAggregatorABI; export type ArbAggregatorPrepareTransactionRequestFunctionName = GetFunctionName; export type ArbAggregatorEncodeFunctionDataParameters = EncodeFunctionDataParameters; export type ArbAggregatorPrepareFunctionDataParameters = ArbAggregatorEncodeFunctionDataParameters & { upgradeExecutor: Address | false; abi: ArbAggregatorAbi; }; export declare function arbAggregatorPrepareFunctionData(params: ArbAggregatorPrepareFunctionDataParameters): { to: `0x${string}`; data: `0x${string}`; value: bigint; }; export type ArbAggregatorPrepareTransactionRequestParameters = Omit, 'abi'> & { account: Address; }; export declare function arbAggregatorPrepareTransactionRequest(client: PublicClient, params: ArbAggregatorPrepareTransactionRequestParameters): Promise<{ chainId: number; data?: `0x${string}` | undefined; from: `0x${string}`; gas?: bigint | undefined; nonce?: number | undefined; to?: `0x${string}` | null | undefined; value?: bigint | undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: undefined; type?: "legacy" | undefined; account: `0x${string}` | import("viem").Account; chain: Chain | null | undefined; } | { chainId: number; data?: `0x${string}` | undefined; from: `0x${string}`; gas?: bigint | undefined; nonce?: number | undefined; to?: `0x${string}` | null | undefined; value?: bigint | undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; accessList?: import("viem").AccessList | undefined; type?: "eip2930" | undefined; account: `0x${string}` | import("viem").Account; chain: Chain | null | undefined; } | { chainId: number; data?: `0x${string}` | undefined; from: `0x${string}`; gas?: bigint | undefined; nonce?: number | undefined; to?: `0x${string}` | null | undefined; value?: bigint | undefined; gasPrice?: undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; accessList?: import("viem").AccessList | undefined; type?: "eip1559" | undefined; account: `0x${string}` | import("viem").Account; chain: Chain | null | undefined; }>; export {};