import { Compute, ExactPartial } from '@wagmi/core/internal'; import { AddEthereumChainParameter } from 'viem'; import { Config, Connector, ResolvedRegister } from 'wagmi'; export type SwitchChainProps = { /** The chain to switch to. Must be one of the available chains in the registered config */ requestedChain: config['chains'][number]; /** * Listens to the switchChain success event and emits. * Useful for updating the UI when the chain switches. */ onSuccess?(data: { [key in keyof Extract]: Extract[key]; }, variables: { connector?: Connector | undefined; chainId: config['chains'][number]['id']; addEthereumChainParameter?: Compute>> | undefined; }): Promise | void; }; export declare function SwitchChain(props: SwitchChainProps): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=SwitchChain.d.ts.map