import React, { ReactNode } from 'react'; export type DisclaimerComponent = React.FunctionComponent<{ Text: React.FunctionComponent<{ children: ReactNode; }>; Link: React.FunctionComponent<{ children: ReactNode; href: string; }>; }>; export type loginInfoType = { iconUrl: string; name: string; id: string; groupName?: string; intl?: { title?: string; connectTitle?: string; haveTips?: string; nohaveTips?: string; openBtn?: string; getBtn?: string; openWallet?: string; waitingWallet?: string; closeBtn?: string; retryBtn?: string; errorWallet?: string; mobile?: { qrtips: string; title: string; walletConnect: string; recent: string; }; WalletConnect?: { title?: string; tips?: string; WalletConnectModal?: { title?: string; qrCode?: string; copy?: string; }; }; }; }; export declare const defaultAppInfo: { appName: undefined; disclaimer: undefined; learnMoreUrl: string; loginInfo: undefined; loginModal: undefined; }; export declare const AppContext: React.Context<{ loginModal?: ReactNode; appName?: string | undefined; learnMoreUrl?: string | undefined; disclaimer?: DisclaimerComponent | undefined; loginInfo?: loginInfoType | undefined; mobileQRCode?: boolean | undefined; phoneLogin?: boolean | undefined; isMobile?: boolean | undefined; onLoading?: (() => void) | undefined; onSuccess?: (() => void) | undefined; onNotInstalled?: (() => void) | undefined; onCallSuccess?: (() => void) | undefined; onError?: ((error: any) => void) | undefined; mobileQRCodeIcon?: string | (() => Promise) | undefined; jumpToApp?: (() => Promise) | undefined; }>;