import React from 'react'; import type { Chain, Locale, Wallet } from '@ant-design/web3-common'; import { type WalletConnectionError } from '@solana/wallet-adapter-base'; import type { SolanaChainConfig } from '../chains'; export interface AntDesignWeb3ConfigProviderProps { locale?: Locale; chainAssets?: Chain[]; availableChains: SolanaChainConfig[]; balance?: boolean; currentChain?: SolanaChainConfig; availableWallets: Wallet[]; connectionError?: WalletConnectionError; autoAddRegisteredWallets?: boolean; onCurrentChainChange?: (chain?: SolanaChainConfig) => void; /** * 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 MWA_WALLET_NAME = "Mobile Wallet Adapter"; export declare const AntDesignWeb3ConfigProvider: React.FC>;