import type { AccountBalance, UserBalanceEvent } from "@0xmonaco/types"; import type { UseUserBalancesReturn } from "./types"; /** * Update an AccountBalance with data from a WebSocket balance event */ export declare function updateBalanceFromEvent(balance: AccountBalance, event: UserBalanceEvent): AccountBalance; /** * Hook for subscribing to real-time user balance updates via WebSocket (authenticated) * * Fetches initial balances from the REST API, then subscribes to real-time updates. * Requires authentication - the user must be logged in with a valid JWT token. * User is identified on the backend via the JWT token. */ export declare function useUserBalances(): UseUserBalancesReturn;