import { PublicClient, EncodeFunctionDataParameters, Address, Chain, Transport } from 'viem'; import { arbOwnerABI } from './contracts/ArbOwner'; import { GetFunctionName } from './types/utils'; import { TransactionRequestGasOverrides } from './utils/gasOverrides'; type ArbOwnerAbi = typeof arbOwnerABI; export type ArbOwnerPrepareTransactionRequestFunctionName = GetFunctionName; export type ArbOwnerEncodeFunctionDataParameters = EncodeFunctionDataParameters; export type ArbOwnerPrepareFunctionDataParameters = ArbOwnerEncodeFunctionDataParameters & { upgradeExecutor: Address | false; abi: ArbOwnerAbi; }; export declare function arbOwnerPrepareFunctionData(params: ArbOwnerPrepareFunctionDataParameters): { to: `0x${string}`; data: `0x${string}`; value: bigint; }; export type ArbOwnerPrepareTransactionRequestParameters = Omit, 'abi'> & { account: Address; gasOverrides?: TransactionRequestGasOverrides; }; export declare function arbOwnerPrepareTransactionRequest(client: PublicClient, params: ArbOwnerPrepareTransactionRequestParameters): 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 {};