/** * Hook to access information about the currently connected wallet * * @remarks * This hook provides access to metadata about the connected wallet, such as its name, * icon, and other identifying information. It automatically subscribes to wallet info * changes via valtio. * * @returns An object containing: * - `walletInfo`: Metadata about the currently connected wallet (name, icon, etc.) * * @example * ```tsx * function MyComponent() { * const { walletInfo } = useWalletInfo(); * * return ( * * {walletInfo && ( * <> * * {walletInfo.name} * * )} * * ); * } * ``` * * @throws {Error} If used outside of an AppKitProvider */ export declare function useWalletInfo(): { walletInfo: { readonly [x: string]: unknown; readonly name?: string | undefined; readonly icon?: string | undefined; readonly description?: string | undefined; readonly url?: string | undefined; readonly icons?: readonly string[] | undefined; readonly redirect?: { readonly native?: string | undefined; readonly universal?: string | undefined; readonly linkMode?: boolean | undefined; } | undefined; readonly type?: "walletconnect" | "external" | "unknown" | undefined; } | undefined; }; //# sourceMappingURL=useWalletInfo.d.ts.map