import React, { ReactNode } from 'react'; import { CustomTheme, Languages, Mode, Theme, CustomAvatarProps } from '../types'; import { useConnectCallbackProps } from '../hooks/useConnectCallback'; export declare const routes: { ONBOARDING: string; ABOUT: string; CONNECTORS: string; MOBILECONNECTORS: string; CONNECT: string; DOWNLOAD: string; PROFILE: string; SWITCHNETWORKS: string; SIGNINWITHETHEREUM: string; }; type Connector = { id: string; }; type Error = string | React.ReactNode | null; type ContextValue = { theme: Theme; setTheme: React.Dispatch>; mode: Mode; setMode: React.Dispatch>; customTheme: CustomTheme | undefined; setCustomTheme: React.Dispatch>; lang: Languages; setLang: React.Dispatch>; open: boolean; setOpen: React.Dispatch>; route: string; setRoute: React.Dispatch>; connector: Connector; setConnector: React.Dispatch>; errorMessage: Error; options?: ConnectKitOptions; signInWithEthereum: boolean; debugMode?: boolean; log: (...props: any) => void; displayError: (message: string | React.ReactNode | null, code?: any) => void; resize: number; triggerResize: () => void; } & useConnectCallbackProps; export declare const Context: React.Context; export type ConnectKitOptions = { language?: Languages; hideBalance?: boolean; hideTooltips?: boolean; hideQuestionMarkCTA?: boolean; hideNoWalletCTA?: boolean; hideRecentBadge?: boolean; walletConnectCTA?: 'link' | 'modal' | 'both'; avoidLayoutShift?: boolean; embedGoogleFonts?: boolean; truncateLongENSAddress?: boolean; walletConnectName?: string; reducedMotion?: boolean; disclaimer?: ReactNode | string; bufferPolyfill?: boolean; customAvatar?: React.FC; initialChainId?: number; enforceSupportedChains?: boolean; ethereumOnboardingUrl?: string; walletOnboardingUrl?: string; disableSiweRedirect?: boolean; overlayBlur?: number; }; type ConnectKitProviderProps = { children?: React.ReactNode; theme?: Theme; mode?: Mode; customTheme?: CustomTheme; options?: ConnectKitOptions; debugMode?: boolean; } & useConnectCallbackProps; export declare const ConnectKitProvider: ({ children, theme, mode, customTheme, options, onConnect, onDisconnect, debugMode, }: ConnectKitProviderProps) => React.FunctionComponentElement>; export declare const useContext: () => ContextValue; export {};