import { ReactNode } from 'react'; import React from 'react'; interface ConnectButtonRendererProps { children: (renderProps: { account?: { address: string; displayName: string; displayBalance?: string; ensAvatar?: string; hasPendingTransactions: boolean; }; chain?: { id: number; name?: string; unsupported?: boolean; }; openAccountModal: () => void; openChainModal: () => void; openConnectModal: () => void; }) => ReactNode; } declare function ConnectButtonRenderer({ children }: ConnectButtonRendererProps): ReactNode; interface ConnectButtonProps { label?: string; } declare function ConnectButton({ label }: ConnectButtonProps): React.JSX.Element | null; declare namespace ConnectButton { var Custom: typeof ConnectButtonRenderer; } export { ConnectButton, ConnectButtonRenderer };