import { PropsWithChildren } from 'react'; import { WalletList } from '../types/Wallet.js'; import { SolanaExternalWalletProviderConfig } from './SolanaExternalWalletContext.js'; import { type ConnectionConfig } from '@solana/web3.js'; import { Chain } from '@solana-mobile/mobile-wallet-adapter-protocol'; export interface ParaSolanaProviderConfig { wallets: WalletList; /** Endpoint passed to the ConnectionProvider * Ref: https://solana-labs.github.io/solana-web3.js/classes/Connection.html */ endpoint: string; /** Optional config for the Connection Provider * Ref: https://solana-labs.github.io/solana-web3.js/types/ConnectionConfig.html */ connectionConfig?: ConnectionConfig; /** App identity for the Solana mobile wallet adapter * Ref: https://docs.solanamobile.com/reference/typescript/mobile-wallet-adapter#web3mobilewalletauthorize */ appIdentity: { name?: string; uri?: string; icon?: string; }; /** Chain to use for the Solana mobile wallet adapter * Ref: https://docs.solanamobile.com/reference/typescript/mobile-wallet-adapter#web3mobilewalletauthorize */ chain: Chain; } export type ParaSolanaProviderProps = { config: ParaSolanaProviderConfig; internalConfig: SolanaExternalWalletProviderConfig; }; export declare function ParaSolanaProvider({ children, config, internalConfig }: ParaSolanaProviderProps & PropsWithChildren): import("react/jsx-runtime").JSX.Element;