import { type FC, type PropsWithChildren } from 'react'; import type { Locale } from '@ant-design/web3-common'; import { type ConnectionProviderProps, type WalletProviderProps } from '@solana/wallet-adapter-react'; import type { UniversalProviderOpts } from '@walletconnect/universal-provider'; import { type SolanaChainConfig } from '../chains'; import type { WalletFactory } from '../wallets/types'; export interface SolanaWeb3ConfigProviderProps { locale?: Locale; chains?: SolanaChainConfig[]; wallets?: WalletFactory[]; balance?: boolean; autoAddRegisteredWallets?: boolean; rpcProvider?: (chain?: SolanaChainConfig) => string; connectionConfig?: ConnectionProviderProps['config']; autoConnect?: WalletProviderProps['autoConnect']; walletProviderProps?: Omit; walletConnect?: UniversalProviderOpts; /** * If true, this provider's configuration will be ignored when merging with parent context. * This is useful when you have multiple chain providers and want to switch between them * without causing page flickering. Only the active provider should not have this flag set. */ ignoreConfig?: boolean; } export declare const SolanaWeb3ConfigProvider: FC>;