import { PublicClient, EncodeFunctionDataParameters, Address, Transport, Chain } from 'viem'; import { rollupABI } from './contracts/Rollup'; import { GetFunctionName } from './types/utils'; export type RollupAdminLogicAbi = typeof rollupABI; export type RollupAdminLogicFunctionName = GetFunctionName; type RollupAdminLogicEncodeFunctionDataParameters = EncodeFunctionDataParameters; export type RollupAdminLogicPrepareFunctionDataParameters = RollupAdminLogicEncodeFunctionDataParameters & { upgradeExecutor: Address | false; abi: RollupAdminLogicAbi; rollup: Address; }; export declare function rollupAdminLogicPrepareFunctionData(params: RollupAdminLogicPrepareFunctionDataParameters): { to: `0x${string}`; data: `0x${string}`; value: bigint; }; export type RollupAdminLogicPrepareTransactionRequestParameters = Omit, 'abi'> & { account: Address; }; export declare function rollupAdminLogicPrepareTransactionRequest(client: PublicClient, params: RollupAdminLogicPrepareTransactionRequestParameters): 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 {};