import { PublicClient, EncodeFunctionDataParameters, Address, Transport, Chain } from 'viem'; import { sequencerInboxABI } from './contracts/SequencerInbox'; import { GetFunctionName } from './types/utils'; export type SequencerInboxAbi = typeof sequencerInboxABI; export type SequencerInboxFunctionName = GetFunctionName; type SequencerInboxEncodeFunctionDataParameters = EncodeFunctionDataParameters; export type SequencerInboxPrepareFunctionDataParameters = SequencerInboxEncodeFunctionDataParameters & { upgradeExecutor: Address | false; abi: SequencerInboxAbi; sequencerInbox: Address; }; export declare function sequencerInboxPrepareFunctionData(params: SequencerInboxPrepareFunctionDataParameters): { to: `0x${string}`; data: `0x${string}`; value: bigint; }; export type SequencerInboxPrepareTransactionRequestParameters = Omit, 'abi'> & { account: Address; }; export declare function sequencerInboxPrepareTransactionRequest(client: PublicClient, params: SequencerInboxPrepareTransactionRequestParameters): 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 {};