import { ChainId } from '@dcl/schemas/dist/dapps/chain-id'; import { Provider } from 'decentraland-connect'; /** * Change the provider's chain to a provided chain. * In case it returns an error that the chain does not exist, it will try to add it. * @param provider - The provider used to swith the chain * @param chainId - The chain id that is being changed * @returns A number representing the chain id */ export declare function switchProviderChainId(provider: Provider, chainId: ChainId): Promise;