import { JsonRpcProvider } from '@ethersproject/providers'; import { PropsWithChildren } from 'react'; import { SupportedChainId } from '../types'; export declare type JsonRpcConnectionMap = { [chainId: number]: string | string[] | JsonRpcProvider | JsonRpcProvider[]; }; export declare function Provider({ jsonRpcMap, children }: PropsWithChildren<{ jsonRpcMap?: JsonRpcConnectionMap; }>): JSX.Element; export default function useJsonRpcUrlsMap(): Record; export declare function toJsonRpcConnectionMap(connectionMap?: JsonRpcConnectionMap): Record; export declare function toJsonRpcUrlMap(connectionMap?: JsonRpcConnectionMap): Record; export declare function toJsonRpcUrlsMap(connectionMap?: JsonRpcConnectionMap): Record;