UNPKG

@web3auth/no-modal

Version:
14 lines (13 loc) 594 B
import { type Ref, type ShallowRef } from "vue"; type IWeb3AuthContextForWalletServices = { getPlugin: (pluginName: string) => unknown; isInitialized: Ref<boolean>; isConnected: Ref<boolean>; }; export type IWalletServicesInnerContextValue<TWalletServicesPlugin> = { plugin: ShallowRef<TWalletServicesPlugin | null>; ready: Ref<boolean>; connecting: Ref<boolean>; }; export declare function useWalletServicesInnerContextValue<TWalletServicesPlugin>(web3AuthContext: IWeb3AuthContextForWalletServices): IWalletServicesInnerContextValue<TWalletServicesPlugin>; export {};