import type { JsonRpcEngineEndCallback, JsonRpcEngineNextCallback } from "@metamask/json-rpc-engine"; import { type Hex, type JsonRpcRequest, type PendingJsonRpcResponse } from "@metamask/utils"; export type SwitchEthereumChainHooks = { setCurrentChain: (chain: Hex) => null; }; /** * A mock handler for the `wallet_switchEthereumChain` method that always * returns `null`. * * @param request - Incoming JSON-RPC request. * @param response - The outgoing JSON-RPC response, modified to return the * result. * @param _next - The `json-rpc-engine` middleware next handler. * @param end - The `json-rpc-engine` middleware end handler. * @param hooks - The method hooks. * @returns The response. */ export declare function getSwitchEthereumChainHandler(request: JsonRpcRequest, response: PendingJsonRpcResponse, _next: JsonRpcEngineNextCallback, end: JsonRpcEngineEndCallback, hooks: SwitchEthereumChainHooks): Promise; //# sourceMappingURL=switch-ethereum-chain.d.cts.map