import { Dispatch, FC, MutableRefObject, PropsWithChildren, ReducerWithoutAction } from 'react'; import { Wallet } from '../../shared'; export type UserWalletsContextType = { /** All wallets related to the current user/session. They are either connected, authenticated to the user, or both */ userWallets: Wallet[]; /** Allows setting the userWallets variable directly */ setUserWallets: Dispatch>; /** Allows registering a user wallet to the sdk's internal state */ registerUserWallet: (newWallet: Wallet) => void; /** Allows deleting a wallet from the internal state (does not disconnect or unlink the wallet!) */ removeUserWallet: (walletId: string) => void; addedWalletsIds: MutableRefObject; removedWalletsIds: MutableRefObject; }; /** Context for accessing the current user/session's wallets */ export declare const UserWalletsContext: import("react").Context; export declare const UserWalletsProvider: FC; /** Provides access to state and setters of the current user/session wallets array */ export declare const useInternalUserWallets: () => UserWalletsContextType; /** Provides access to the current user/session wallets */ export declare const useUserWalletsExternal: () => Wallet[];