import { type JsonRpcRequest, type PendingJsonRpcResponse, type Hex } from "@metamask/utils"; import type { GetAccountUpgradeStatusParams } from "./types.mjs"; export type WalletGetAccountUpgradeStatusHooks = { getCurrentChainIdForDomain: (origin: string) => Hex | null; getCode: (address: string, networkClientId: string) => Promise; getSelectedNetworkClientIdForChain: (chainId: string) => string | null; getPermittedAccountsForOrigin: (origin: string) => Promise; isEip7702Supported: (request: { address: string; chainId: Hex; }) => Promise<{ isSupported: boolean; upgradeContractAddress?: string; }>; }; /** * The RPC method handler middleware for `wallet_getAccountUpgradeStatus` * * @param req - The JSON RPC request's end callback. * @param res - The JSON RPC request's pending response object. * @param hooks - The hooks required for account upgrade status checking. */ export declare function walletGetAccountUpgradeStatus(req: JsonRpcRequest & { origin: string; }, res: PendingJsonRpcResponse, hooks: WalletGetAccountUpgradeStatusHooks): Promise; //# sourceMappingURL=wallet_getAccountUpgradeStatus.d.mts.map