import { Wallet, WalletInfoWithOpenMethod } from '@tonconnect/ui'; /** * Reactive accessor for the currently connected wallet. Returns `null` * while disconnected and refreshes on every `onStatusChange` event. * * The shape mirrors `tonConnectUI.wallet` — `Wallet` (from `@tonconnect/sdk`) * merged with the picker entry for the wallet (icon, name, open method). * * Must be called inside a ``. * * @example * ```tsx * const wallet = useTonWallet(); * * if (!wallet) return ; * return {wallet.device.appName} · {wallet.account.address}; * ``` */ export declare function useTonWallet(): Wallet | (Wallet & WalletInfoWithOpenMethod) | null;