import { Address, PublicClient, Transport, Chain } from 'viem'; /** * Type for the params of the {@link upgradeExecutorPrepareRemoveExecutorTransactionRequest} function */ export type UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams = { account: Address; upgradeExecutorAddress: Address; executorAccountAddress: Address; publicClient: PublicClient; }; /** * Prepares a transaction to revoke the executor role from an account * * - Example: [Add new executor account to UpgradeExecutor](https://github.com/OffchainLabs/arbitrum-orbit-sdk/blob/main/examples/upgrade-executor-add-account/index.ts) * * @param {UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams} upgradeExecutorPrepareRemoveExecutorTransactionRequestParams {@link UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams} * @param {Address} upgradeExecutorPrepareRemoveExecutorTransactionRequestParams.account - Address of the account to be revoked the executor role * @param {Address} upgradeExecutorPrepareRemoveExecutorTransactionRequestParams.upgradeExecutorAddress - Address of the UpgradeExecutor contract * @param {Address} upgradeExecutorPrepareRemoveExecutorTransactionRequestParams.executorAccountAddress - Address of the account that already has the executor role (will send the transaction) * @param {PublicClient} upgradeExecutorPrepareRemoveExecutorTransactionRequestParams.publicClient - The chain Viem Public Client * * @returns Promise<{@link PrepareTransactionRequestReturnType}> - the transaction request * * @example * const removeExecutorTransactionRequest = await upgradeExecutorPrepareRemoveExecutorTransactionRequest({ * account: accountAddress, * upgradeExecutorAddress: coreContracts.upgradeExecutor, * executorAccountAddress: deployer.address, * publicClient, * }); */ export declare function upgradeExecutorPrepareRemoveExecutorTransactionRequest({ account, upgradeExecutorAddress, executorAccountAddress, publicClient, }: UpgradeExecutorPrepareRemoveExecutorTransactionRequestParams): 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; }>;