import React from 'react'; import { truncateEthAddress, truncateSolanaAddress } from './format.js'; /** * Renders a balance for display: full precision below 10,000, compact above it. * * The suffix is lower-cased because that is how this SDK has always rendered it * (`1.5k`, not `1.5K`). Above 1e15 `Intl` keeps scaling `t` rather than moving * to `p`/`e`, so a quadrillion reads `1000t` — closer to what a reader can * actually parse than a peta prefix. */ declare const nFormatter: (num: number, digits?: number) => string; declare const detectBrowser: () => import("detect-browser").Browser | "bot" | "node" | "react-native" | ""; declare const isIOS: () => boolean; declare const isAndroid: () => boolean; declare const isMobile: () => boolean; type ReactChildArray = ReturnType; declare function flattenChildren(children: React.ReactNode): ReactChildArray; export declare const isWalletConnectConnector: (connectorId?: string) => connectorId is "walletConnect"; export declare const isCoinbaseWalletConnector: (connectorId?: string) => connectorId is "coinbaseWalletSDK"; export declare const isInjectedConnector: (connectorId?: string) => connectorId is "injected"; export { detectBrowser, flattenChildren, isAndroid, isIOS, isMobile, nFormatter, truncateEthAddress, truncateSolanaAddress, };