import { StencilVueComponent } from '@stencil/vue-output-target/runtime'; import { JSX } from '@naculus/connect-appkit-wc'; import { ComputedRef, MaybeRefOrGetter, MaybeRef, ShallowRef, shallowRef, ref } from 'vue'; import { AuthorizationManagers, ListedAuthorization, RevokeListedAuthorizationResult, InAppChannel, NotificationItem, NotificationSettings, SimulationResult, ERC20_MIN_ABI, TokenConfig, ActiveSessionBundle, ChainSession, SessionManager, WalletError, UniversalWalletSession, SolanaConfirmationStatus, BatchCall, AtomicityRequirement, ExecutionPlan, CallsStatus, ExecutionStrategy, SessionKeyManagerConfig, SessionKeyManager, SessionKeyInfo, SessionKeyScope, SessionKeyTransaction, Address, SmartAccountManager, SmartAccountInfo, SmartAccountConfig, Hex, Call, SendUserOpOptions, UserOperationResponse, UserOperationReceipt, ScopeCheckResult, TokenListSource, TokenListManager, TokenListEntry, TokenSearchResult, UniversalConnector, SentDelegation, SettlementVerification, SolanaSessionKeyInfo, SolanaSessionKeyScope, AddressResult, NameResolverConfig, NameResult, PassphraseRequest, PassphraseGate, SolanaBalance } from '@naculus/connect-core'; import { NotificationSettingsStorage, WalletChain, SimulationCallClient, SimulationTransaction, X402TypedDataSigner, X402SignerUnavailableReason, X402Eip1193Provider, SiwxResultLike, PolicySignatureVerifier, PolicyExecutionPreview, PolicyExecutionAdapter, DelegationTypedData, DelegationPolicyPreview, PreparedPolicyExecution, PolicyExecutionSubmission, SmartAccountType, Eip3009SessionKeyRail, SessionKeyRailGrantCheck, RouteQuote, RouteQuoteInput, GetRouteQuotes, CostComparison, CompareCostsInput, CompareCosts, ExecutableQuote, ExecuteRouteOptions, ExecuteRouteResult, ExecuteRouteError, ExecuteRoute, DestinationValidation, PaymentFetchResult, VerifyRetryOptions, PaymentFetch, PaymentRecord, MppSessionRequest, MppSessionChannel, MppSessionReceipt, MppSessionFetchResult, MppSessionForceCloseResult, MppSessionFetch, SolanaSessionKeyFlowDeps, ChainInfo, ChainCapabilities, AtomicSupport, SolanaRoles, SolanaRolesAbsence, SolanaIdentity, SolanaSigner, SolanaPayer, SolanaRolesSource } from '@naculus/connect-appkit-core'; export { AtomicSupport, ChainCapabilities, SolanaIdentity, SolanaPayer, SolanaRoles, SolanaRolesAbsence, SolanaRolesSource, SolanaSigner, SolanaWalletFeatures } from '@naculus/connect-appkit-core'; declare const AppkitAccordion: StencilVueComponent; declare const AppkitAccountButton: StencilVueComponent; declare const AppkitAlertDialog: StencilVueComponent; declare const AppkitAvatar: StencilVueComponent; declare const AppkitBadge: StencilVueComponent; declare const AppkitButton: StencilVueComponent; declare const AppkitCard: StencilVueComponent; declare const AppkitCardContent: StencilVueComponent; declare const AppkitCardDescription: StencilVueComponent; declare const AppkitCardFooter: StencilVueComponent; declare const AppkitCardHeader: StencilVueComponent; declare const AppkitCardTitle: StencilVueComponent; declare const AppkitCheckbox: StencilVueComponent; declare const AppkitCollapsible: StencilVueComponent; declare const AppkitConnectButton: StencilVueComponent; declare const AppkitDialog: StencilVueComponent; declare const AppkitDropdownMenu: StencilVueComponent; declare const AppkitInput: StencilVueComponent; declare const AppkitPopover: StencilVueComponent; declare const AppkitProgress: StencilVueComponent; declare const AppkitScrollArea: StencilVueComponent; declare const AppkitSelect: StencilVueComponent; declare const AppkitSeparator: StencilVueComponent; declare const AppkitSkeleton: StencilVueComponent; declare const AppkitSwitch: StencilVueComponent; declare const AppkitTabs: StencilVueComponent; declare const AppkitToggleGroup: StencilVueComponent; declare const AppkitTooltip: StencilVueComponent; interface AccountEntry { /** As the session reports it: CAIP-10 for most wallets, bare hex for some. */ address: string; /** The namespace, when the entry was CAIP-10. Null for a bare address. */ namespace: string | null; isEVM: boolean; } interface UseAccountsReturn { accounts: ComputedRef; evmAccount: ComputedRef; solanaAccount: ComputedRef; } /** * Split a session's account list by what each entry actually is. * * The same reading as the React `useAccount`, because it is the same reading: * `parseCaip10` and `isEvmAddress` come from `@naculus/connect-core` and hold * every rule about which strings mean what. What differs between the two * bindings is `computed` versus `useMemo`, and nothing else. */ declare function useAccounts(accounts: MaybeRefOrGetter): UseAccountsReturn; interface UseAuthorizationsOptions { managers: MaybeRef; } interface UseAuthorizationsReturn { entries: ShallowRef; loading: ShallowRef; error: ShallowRef; refresh: () => Promise; revoke: (entry: ListedAuthorization) => Promise; } /** Reactive shell over the caller-owned authorization managers. */ declare function useAuthorizations({ managers, }: UseAuthorizationsOptions): UseAuthorizationsReturn; interface UseNotificationOptions { channel?: MaybeRef; storage?: MaybeRef; } interface UseNotificationReturn { notifications: ShallowRef; unreadCount: ComputedRef; settings: ShallowRef; addNotification: (item: Omit) => void; clear: () => void; clearOne: (id: string) => void; markAsRead: (id: string) => void; markAllAsRead: () => void; updateSettings: (update: Partial) => void; setChannels: (channels: string[]) => void; muteChain: (chainId: string) => void; unmuteChain: (chainId: string) => void; } /** Vue state shell over the shared in-app notification actions. */ declare function useNotification(options?: UseNotificationOptions): UseNotificationReturn; interface UseSimulateTransferOptions { rpcUrl?: MaybeRef; chainId?: MaybeRef; } interface UseSimulateTransferReturn { result: ShallowRef; loading: ShallowRef; error: ShallowRef; simulate: (tokenAddress: `0x${string}`, from: `0x${string}`, to: `0x${string}`, amount: string, options?: { chainId?: number; rpcUrl?: string; decimals?: number; }) => Promise; reset: () => void; } /** Vue state shell around the canonical connect-core ERC-20 simulator. */ declare function useSimulateTransfer(options?: UseSimulateTransferOptions): UseSimulateTransferReturn; interface UseTransactionSimulationOptions { chainId?: MaybeRef; currentChain?: MaybeRef; publicClient?: MaybeRef; evmAccount?: MaybeRef; } interface UseTransactionSimulationReturn { result: ShallowRef; isSimulating: ShallowRef; error: ShallowRef; simulate: () => Promise; reset: () => void; } /** Basic eth_call preview; caller supplies chain/account/client context. */ declare function useTransactionSimulation(tx: MaybeRefOrGetter, options?: UseTransactionSimulationOptions): UseTransactionSimulationReturn; interface ERC20Reader { readContract(args: { address: `0x${string}`; abi: typeof ERC20_MIN_ABI; functionName: "decimals" | "allowance"; args?: readonly [`0x${string}`, `0x${string}`]; }): Promise; } interface ERC20Transaction { to: `0x${string}`; data: `0x${string}`; value: "0"; } type ERC20Sender = (transaction: ERC20Transaction) => Promise<`0x${string}`>; interface UseERC20TransferOptions { token: MaybeRefOrGetter; account: MaybeRefOrGetter; chainId: MaybeRefOrGetter; connected: MaybeRefOrGetter; publicClient: MaybeRefOrGetter; sendTransaction: MaybeRef; } interface UseERC20TransferReturn { sendTransfer: (to: `0x${string}`, amount: string) => Promise<`0x${string}`>; isSending: ShallowRef; error: ShallowRef; } /** Vue state shell for an ERC-20 transfer through a caller-owned send action. */ declare function useERC20Transfer(options: UseERC20TransferOptions): UseERC20TransferReturn; interface UseERC20ApproveOptions { token: MaybeRefOrGetter; spender: MaybeRefOrGetter<`0x${string}`>; account: MaybeRefOrGetter; chainId: MaybeRefOrGetter; connected: MaybeRefOrGetter; publicClient: MaybeRefOrGetter; sendTransaction: MaybeRef; } interface UseERC20ApproveReturn { approve: (amount: string) => Promise<`0x${string}`>; approveMax: () => Promise<`0x${string}`>; allowanceRaw: ShallowRef; allowance: ComputedRef; hasAllowance: (required: string) => Promise; isApproving: ShallowRef; isFetchingAllowance: ShallowRef; error: ShallowRef; refetchAllowance: () => Promise; } /** Vue state shell for ERC-20 approvals through caller-owned read/send actions. */ declare function useERC20Approve(options: UseERC20ApproveOptions): UseERC20ApproveReturn; interface UseERC20TransferSimulationOptions { token: MaybeRefOrGetter; to: MaybeRefOrGetter<`0x${string}`>; amount: MaybeRefOrGetter; connected: MaybeRefOrGetter; evmAccount: MaybeRef; currentChain?: MaybeRef; publicClient?: MaybeRef; } interface UseERC20TransferSimulationReturn extends Omit { result: ComputedRef; isSimulating: ComputedRef; error: ComputedRef; reSimulate: () => Promise; } /** Vue shell that previews exactly the calldata accepted by the transfer hook. */ declare function useERC20TransferSimulation(options: UseERC20TransferSimulationOptions): UseERC20TransferSimulationReturn; interface UseAccountReturn { accounts: ComputedRef; evmAccount: ComputedRef; primaryAccount: ComputedRef; isConnected: ComputedRef; count: ComputedRef; } /** React useAccount's connected-state view of the shared account parser. */ declare function useAccount(accounts: MaybeRefOrGetter, connected: MaybeRefOrGetter): UseAccountReturn; interface UseSessionReturn { session: ComputedRef; chainSessions: ComputedRef; activeChainId: ComputedRef; isConnected: ComputedRef; connectorId: ComputedRef; } /** Reactively expose a caller-owned SessionManager's active bundle. */ declare function useSession(manager: MaybeRefOrGetter): UseSessionReturn; interface UseConnectReturn { connect: () => Promise; isConnecting: ComputedRef; error: ShallowRef; } /** Connection state around a caller-owned action; never connects on mount. */ declare function useConnect(action: MaybeRef<() => Promise>, status: MaybeRefOrGetter): UseConnectReturn; interface UseDisconnectReturn { disconnect: () => Promise; isDisconnecting: ShallowRef; error: ShallowRef; cleanup: () => void; } /** Disconnect through a caller-owned action, preserving React's no-op when already disconnected. */ declare function useDisconnect(action: MaybeRef<() => Promise>, status: MaybeRefOrGetter): UseDisconnectReturn; interface UseSwitchChainReturn { switchChain: (chainId: string) => Promise; isSwitching: ShallowRef; currentChainId: ComputedRef; error: ShallowRef; clearError: () => void; } /** Vue counterpart of React useSwitchChain around a caller-owned action. */ declare function useSwitchChain(action: MaybeRef<(chainId: string) => Promise>, chainId: MaybeRefOrGetter): UseSwitchChainReturn; interface UseX402SignerReturn { signer: ComputedRef; reason: ComputedRef; } /** Vue shell over the caller-owned session, provider and chain switch path. */ declare function useX402Signer(session: MaybeRefOrGetter, provider: MaybeRefOrGetter, switchChain: MaybeRef<(chainId: string) => Promise>, chainId: MaybeRefOrGetter): UseX402SignerReturn; type SignMessageAction = (message: string) => Promise; interface UseSignMessageReturn { signMessage: SignMessageAction; isSigning: ShallowRef; error: ShallowRef; reset: () => void; } /** Reactive state around a caller-owned message-signing action. */ declare function useSignMessage(action: MaybeRef): UseSignMessageReturn; interface EvmTransaction { to: string; from?: string; value?: string; data?: string; gas?: string; gasPrice?: string; nonce?: string; chainId?: number; } type SendTransactionAction = (transaction: EvmTransaction) => Promise; type SendTransactionStatus = "idle" | "awaiting_approval" | "submitted" | "failed"; interface UseSendTransactionReturn { sendTransaction: SendTransactionAction; status: ShallowRef; error: ShallowRef; reset: () => void; isSending: ComputedRef; } /** Reactive state around a caller-owned EVM transaction action. */ declare function useSendTransaction(action: MaybeRef): UseSendTransactionReturn; type SolanaTransaction = Uint8Array | string; type SignSolanaTransactionAction = (transaction: SolanaTransaction) => Promise; type SendSolanaTransactionAction = (transaction: SolanaTransaction) => Promise; type GetSolanaTransactionStatusAction = (signature: string) => Promise<{ status: SolanaConfirmationStatus; error: string | null; }>; interface UseSolanaTransactionOptions { signTransaction: MaybeRef; sendTransaction: MaybeRef; getStatus: MaybeRef; } interface UseSolanaTransactionReturn { signTransaction: SignSolanaTransactionAction; sendTransaction: SendSolanaTransactionAction; getStatus: GetSolanaTransactionStatusAction; isSigning: ShallowRef; isSending: ShallowRef; error: ShallowRef; reset: () => void; } /** Reactive state around caller-owned Solana sign, send, and status actions. */ declare function useSolanaTransaction(options: UseSolanaTransactionOptions): UseSolanaTransactionReturn; interface SiwxSignInOptions { domain?: string; statement?: string; uri?: string; chainId?: string; expirySeconds?: number; resources?: string[]; requestId?: string; } type SiwxResult = SiwxResultLike; type SiwxSignInAction = (options?: SiwxSignInOptions) => Promise; interface SiwxSessionLike { id: string; chainId: string; address: string; domain: string; message: SiwxResult["message"]; signature: string; issuedAt: string; expiresAt: string | null; refreshedAt: string | null; } interface UseSignInWithXReturn { signIn: SiwxSignInAction; isSigningIn: ShallowRef; result: ShallowRef; error: ShallowRef; clearError: () => void; reset: () => void; } /** Reactive state around a caller-owned SIWX sign-in action. */ declare function useSignInWithX(action: MaybeRef): UseSignInWithXReturn; type UseSignInWithEthereumOptions = SiwxSignInOptions; interface UseSignInWithEthereumReturn extends UseSignInWithXReturn { } /** Ethereum-named view of the caller-owned SIWX sign-in shell. */ declare function useSignInWithEthereum(action: MaybeRef): UseSignInWithEthereumReturn; interface PaymasterService { url: string; context?: Record; } interface SendCallsOptions { chainId?: string; strategy?: ExecutionStrategy; paymasterService?: PaymasterService; } type SendCallsAction = (calls: BatchCall[], options?: SendCallsOptions) => Promise; type GetCallsStatusAction = (hash?: string) => Promise; type ShowCallsStatusAction = (hash?: string) => Promise; type ExecutionRoute = "wallet-batch" | "user-operation" | "sequential"; interface ExecutionPreview extends ExecutionPlan { route: ExecutionRoute | null; } type PreviewExecutionAction = (callCount: number, atomicity?: AtomicityRequirement) => ExecutionPreview; type ExecuteCallsAction = (calls: BatchCall[], atomicity?: AtomicityRequirement) => Promise; interface UseExecuteCallsOptions { preview: MaybeRef; execute: MaybeRef; lastRoute: MaybeRefOrGetter; reset: MaybeRef<() => void>; } interface UseExecuteCallsReturn { preview: PreviewExecutionAction; execute: ExecuteCallsAction; isExecuting: ShallowRef; error: ShallowRef; lastRoute: ComputedRef; reset: () => void; } /** Reactive state around a caller-owned EIP-5792 execution planner/action. */ declare function useExecuteCalls(options: UseExecuteCallsOptions): UseExecuteCallsReturn; interface UseDelegationPolicyOptions { /** Connected EOA (plain or CAIP-10). */ account: MaybeRefOrGetter; /** Whether a wallet session is connected (gates the policy list). */ connected: MaybeRefOrGetter; /** Main-wallet EIP-191 signer for the policy message. */ signMessage: MaybeRef<(message: string) => Promise>; /** Recovers an EIP-191 signer and compares; e.g. viem's recoverMessageAddress. */ verifySignature: MaybeRef; /** Execution planner (from useExecuteCalls-style preview) for readiness. */ previewExecution: MaybeRef<(callCount: number, atomicity: AtomicityRequirement) => PolicyExecutionPreview>; /** Current on-chain EIP-7702 delegation of the account (from useDelegation). */ delegation: MaybeRefOrGetter<{ delegated: boolean | null; delegate: `0x${string}` | null; }>; managerConfig?: SessionKeyManagerConfig; /** Reuse a caller-owned manager instead of the shared one. */ manager?: SessionKeyManager; origin?: string; sponsorship?: AtomicityRequirement; adapter?: PolicyExecutionAdapter; /** * For `eip7702` policies: the wallet's EIP-712 signer. `message.salt` is a * decimal string (JSON-safe, as `eth_signTypedData_v4` takes it); for viem's * `signTypedData`, pass `{ ...t, message: { ...t.message, salt: BigInt(t.message.salt) } }`. */ signTypedData?: MaybeRef<(typedData: DelegationTypedData) => Promise>; /** For `eip7702` policies: the connected EVM chain number. */ chainId?: MaybeRefOrGetter; } interface UseDelegationPolicyReturn { policies: ShallowRef; /** Active policies whose stored signature currently verifies. */ activePolicies: ComputedRef; storageAvailable: boolean; loading: ComputedRef; isBusy: ShallowRef; error: ComputedRef; createPolicy: (scope: Partial) => Promise; revokePolicy: (policyId: string) => Promise; previewPolicyExecution: (policyId: string, tx: SessionKeyTransaction, callCount?: number, atomicity?: AtomicityRequirement) => Promise; /** * Sign one prepared execution after enforcing the persisted policy. The * digest is checked against `prepared.request` before signing. * * Breaking change: the input is now the `PreparedPolicyExecution` (with its * `request`) instead of a bare `digest` and `tx`. */ signPolicyDigest: (policyId: string, prepared: PreparedPolicyExecution) => Promise<`0x${string}`>; executePolicy: (policyId: string, tx: SessionKeyTransaction) => Promise; refresh: () => Promise; clearError: () => void; } /** * Signed off-chain delegation policies in Vue. The whole flow is * appkit-core's createDelegationPolicyFlow, shared with React; this file * supplies reactivity and the caller-owned signer, verifier, planner and * delegation state that React gets from its provider. */ declare function useDelegationPolicy(options: UseDelegationPolicyOptions): UseDelegationPolicyReturn; /** What deployWallet needs from the caller: something that sends an EVM transaction. */ type DeployTransactionSender = (transaction: { to: Address; data: `0x${string}`; value: string; chainId: string; }) => Promise
; interface UseSmartAccountOptions { /** Connected EOA (plain or CAIP-10); becomes the smart-account owner. */ account: MaybeRefOrGetter; /** Connected chain (CAIP-2), if any. */ connectedChainId: MaybeRefOrGetter; rpcUrl: MaybeRefOrGetter; bundlerUrl?: MaybeRefOrGetter; chainId?: MaybeRefOrGetter; entryPoint?: Address; accountType?: SmartAccountType; salt?: bigint; /** Required for deployWallet; the connected wallet's sendTransaction. */ sendTransaction?: MaybeRef; /** Reuse a caller-owned manager instead of constructing one. */ manager?: MaybeRefOrGetter; } interface UseSmartAccountReturn { address: ShallowRef
; isDeployed: ShallowRef; accountInfo: ShallowRef; isLoading: ShallowRef; error: ShallowRef; /** Null until rpcUrl, chain and owner are all known. */ config: ComputedRef; createWallet: () => Promise; deployWallet: () => Promise
; getAddress: () => Promise
; } /** * Counterfactual smart-account address, deployment state and deployment, * mirroring the React hook. Address derivation, factory calldata and the * refusal to broadcast from the manager are connect-core's; chain and * config decisions are appkit-core's. Deployment is sent through the * caller's own transaction sender, never by this composable. */ declare function useSmartAccount(options: UseSmartAccountOptions): UseSmartAccountReturn; /** Signs the 32-byte UserOperation hash. Raw or EIP-191, per signerMode. */ type UserOpSigner = (hash: Hex) => Promise | Hex; interface UseSendUserOperationOptions { account: MaybeRefOrGetter; connectedChainId: MaybeRefOrGetter; rpcUrl: MaybeRefOrGetter; bundlerUrl: MaybeRefOrGetter; chainId?: MaybeRefOrGetter; entryPoint?: Address; accountType?: SmartAccountType; salt?: bigint; /** Override the connected account as the smart-account owner. */ owner?: MaybeRefOrGetter
; /** * Required. Vue has no wallet provider to fall back to, so the caller * supplies the signer for the UserOperation hash. Its output is validated * by the manager, not trusted. */ signer: MaybeRef; signerMode?: "raw" | "eip191"; } interface UseSendUserOperationReturn { sendUserOp: (calls: Call[], opts?: SendUserOpOptions) => Promise; userOpHash: ShallowRef; receipt: ShallowRef; isPending: ShallowRef; isEstimating: ShallowRef; error: ShallowRef; reset: () => void; } /** * Build, sign and submit one UserOperation, mirroring the React hook. * Preconditions fail closed before anything is signed: configured URLs, * at least one call, a resolvable chain that matches the connected one, an * owner address. Only one operation may be in flight; a result for a * superseded request is dropped. */ declare function useSendUserOperation(options: UseSendUserOperationOptions): UseSendUserOperationReturn; type UserOpStatus = "idle" | "pending" | "confirmed" | "failed" | "not_found"; interface UseUserOpStatusOptions { bundlerUrl: MaybeRefOrGetter; /** Poll interval in ms (default 2000). */ pollInterval?: number; /** Attempts before giving up as not_found (default 30). */ maxRetries?: number; } interface UseUserOpStatusReturn { status: ShallowRef; receipt: ShallowRef; userOpHash: ShallowRef; error: ShallowRef; isPolling: ShallowRef; elapsedMs: ShallowRef; attempts: ShallowRef; start: (hash: Hex) => void; stop: () => void; reset: () => void; } /** * Poll a bundler for a UserOperation receipt, mirroring the React hook. * Receipt validation is appkit-core's: a malformed receipt ends polling as * not_found rather than being retried or banked; transport errors retry up * to maxRetries. A start() or dispose aborts the in-flight request. */ declare function useUserOpStatus(options: UseUserOpStatusOptions): UseUserOpStatusReturn; /** * Vue counterparts of the React session-key hooks. The SessionKeyManager — * key generation, encryption at rest, scope enforcement, fail-closed signing * — is connect-core's; the shared instance and its config guard are * appkit-core's. These composables only add reactivity. Private key material * never reaches them. */ interface SessionKeyComposableOptions { /** Reuse a caller-owned manager instead of the shared process-wide one. */ manager?: SessionKeyManager; } interface UseSessionKeysReturn { sessions: ShallowRef; activeSessions: ComputedRef; loading: ShallowRef; error: ShallowRef; refresh: () => Promise; clearError: () => void; storageAvailable: boolean; checkRailGrant: (scope: SessionKeyScope | null | undefined, rail: Eip3009SessionKeyRail) => SessionKeyRailGrantCheck; } /** * Lists session keys while a wallet session is connected; an empty list * otherwise, as in React. `connected` is the caller's session state. */ declare function useSessionKeys(connected: MaybeRefOrGetter, config?: SessionKeyManagerConfig, options?: SessionKeyComposableOptions): UseSessionKeysReturn; interface UseCreateSessionKeyReturn { createSessionKey: (scope?: Partial, signerAddress?: `0x${string}`) => Promise; lastCreated: ShallowRef; isCreating: ShallowRef; error: ShallowRef; clearError: () => void; } declare function useCreateSessionKey(config?: SessionKeyManagerConfig, options?: SessionKeyComposableOptions): UseCreateSessionKeyReturn; interface UseRevokeSessionReturn { revokeSession: (sessionId: string) => Promise; isRevoking: ShallowRef; error: ShallowRef; clearError: () => void; } /** Revocation is device-local: a bundle already handed out cannot be recalled. */ declare function useRevokeSession(config?: SessionKeyManagerConfig, options?: SessionKeyComposableOptions): UseRevokeSessionReturn; interface UseSendWithSessionReturn { checkScope: (sessionId: string, tx: SessionKeyTransaction) => Promise; isBusy: ShallowRef; error: ShallowRef; clearError: () => void; } declare function useSendWithSession(config?: SessionKeyManagerConfig, options?: SessionKeyComposableOptions): UseSendWithSessionReturn; type SendCallsStatus = "idle" | "awaiting_approval" | "submitted" | "failed"; interface UseSendCallsOptions { sendCalls: MaybeRef; getCallsStatus: MaybeRef; showCallsStatus: MaybeRef; execution?: MaybeRefOrGetter; } interface UseSendCallsReturn { sendCalls: SendCallsAction; getCallsStatus: GetCallsStatusAction; showCallsStatus: ShowCallsStatusAction; status: ShallowRef; error: ShallowRef; batchHash: ShallowRef; callsStatus: ShallowRef; execution: ComputedRef; isSending: ComputedRef; reset: () => void; } /** * Reactive state around caller-owned EIP-5792 actions and execution policy. * This deliberately keeps two publication generations instead of using the * shared action guard: sending and status reads are independent channels, and * a late completion in either channel must not suppress or overwrite the * newest completion in the other. */ declare function useSendCalls(options: UseSendCallsOptions): UseSendCallsReturn; interface EmbeddedWalletAccountView { namespace: string; address: string; derivationPath?: string; } interface EmbeddedWalletView { accounts: EmbeddedWalletAccountView[]; activeNamespace: string; createdAt: number; chainId?: string; version?: 2; recoveryAvailable: boolean; readonly address?: string; } interface UseEmbeddedWalletOptions { wallet: MaybeRefOrGetter; backupPending: MaybeRefOrGetter; storageSecurityLevel: MaybeRefOrGetter; securityReport: MaybeRefOrGetter; connectEmbedded: MaybeRef<() => Promise>; restoreWallet: MaybeRef<() => Promise>; generateWallet: MaybeRef<() => Promise>; importFromMnemonic: MaybeRef<(mnemonic: string) => Promise>; importFromPrivateKey: MaybeRef<(privateKey: string) => Promise>; wipe: MaybeRef<() => Promise>; setActiveNamespace: MaybeRef<(namespace: string) => void>; backfillAccounts: MaybeRef<() => Promise>; getSeedPhrase: MaybeRef<() => string | null>; getPrivateKey: MaybeRef<() => string | null>; confirmBackup: MaybeRef<() => void>; } interface UseEmbeddedWalletReturn { wallet: ComputedRef; hasWallet: ComputedRef; address: ComputedRef; accounts: ComputedRef; activeNamespace: ComputedRef; backupPending: ComputedRef; storageSecurityLevel: ComputedRef; securityReport: ComputedRef; connectEmbedded: () => Promise; restoreWallet: () => Promise; generateWallet: () => Promise; importFromMnemonic: (mnemonic: string) => Promise; importFromPrivateKey: (privateKey: string) => Promise; wipe: () => Promise; setActiveNamespace: (namespace: string) => void; backfillAccounts: () => Promise; getSeedPhrase: () => string | null; getPrivateKey: () => string | null; confirmBackup: () => void; isBusy: ShallowRef; error: ShallowRef; clearError: () => void; } /** Reactive view over caller-owned embedded-wallet state and actions. */ declare function useEmbeddedWallet(options: UseEmbeddedWalletOptions): UseEmbeddedWalletReturn; interface UseSIWxLoginReturn { signIn: SiwxSignInAction; isSigningIn: ShallowRef; error: ShallowRef; clearError: () => void; } /** Login-shaped view of the shared caller-owned SIWX sign-in shell. */ declare function useSIWxLogin(action: MaybeRef): UseSIWxLoginReturn; interface UseSIWxSessionOptions { session: MaybeRefOrGetter; isRestoring: MaybeRefOrGetter; isExpired: MaybeRefOrGetter; timeUntilExpiry: MaybeRefOrGetter; signIn: MaybeRef<(options?: SiwxSignInOptions) => Promise>; signOut: MaybeRef<() => Promise>; refresh: MaybeRef<() => Promise>; } interface UseSIWxSessionReturn { session: ComputedRef; isAuthenticated: ComputedRef; isRestoring: ComputedRef; isSigningIn: ShallowRef; isExpired: ComputedRef; timeUntilExpiry: ComputedRef; signIn: (options?: SiwxSignInOptions) => Promise; signOut: () => Promise; refresh: () => Promise; error: ShallowRef; clearError: () => void; } /** Reactive view over caller-owned SIWX session lifecycle and policy state. */ declare function useSIWxSession(options: UseSIWxSessionOptions): UseSIWxSessionReturn; interface UseSiwxAuthSessionOptions { result: MaybeRefOrGetter; isRestoring: MaybeRefOrGetter; signIn: MaybeRef; signOut: MaybeRef<() => Promise>; } interface UseSiwxAuthSessionReturn { isSignedIn: ComputedRef; isRestoring: ComputedRef; siwxResult: ComputedRef; isSigningIn: ShallowRef; error: ShallowRef; signIn: SiwxSignInAction; signOut: () => Promise; clearError: () => void; } /** Reactive auth view over caller-owned, already-validated SIWX persistence. */ declare function useSiwxAuthSession(options: UseSiwxAuthSessionOptions): UseSiwxAuthSessionReturn; /** Minimal read-only contract; a viem PublicClient satisfies it. */ interface NativeBalanceReader { getBalance(args: { address: `0x${string}`; }): Promise; } interface UseBalanceOptions { /** Native currency decimals. Default 18. */ decimals?: MaybeRefOrGetter; /** * Native currency symbol, or null when it is not known. Null rather than * "ETH": a wrong unit beside the number is worse than no unit. */ symbol?: MaybeRefOrGetter; /** Auto-refresh interval in milliseconds. Default: no auto-refresh. */ refreshInterval?: MaybeRefOrGetter; } interface UseBalanceReturn { /** Raw balance in wei as a decimal string, or null when unread. */ balance: ShallowRef; /** Human-readable balance in the native unit, or null when unread. */ formatted: ComputedRef; symbol: ComputedRef; isFetching: ShallowRef; error: ShallowRef; refetch: () => Promise; } /** * Native balance of an EVM account through a caller-owned reader. * * Vue has no AppKit provider, so the client is explicit. Unlike the React * hook this does not fetch a USD price: that is an outward HTTP call the * caller did not hand us, and it belongs beside the reader they did. */ declare function useBalance(account: MaybeRefOrGetter, client: MaybeRefOrGetter, options?: UseBalanceOptions): UseBalanceReturn; interface UseRouteQuoteOptions { /** Debounce before auto-fetching after an input change (default 300 ms). */ debounceMs?: number; } interface UseRouteQuoteReturn { quotes: ShallowRef; loading: ShallowRef; error: ShallowRef; refresh: () => Promise; clear: () => void; } /** * Debounced cross-chain route quotes through a caller-supplied quote * function, mirroring the React hook. Which inputs are quotable is decided * in appkit-core; this file debounces and drops late results. */ declare function useRouteQuote(input: MaybeRefOrGetter, getQuotes?: MaybeRef, options?: UseRouteQuoteOptions): UseRouteQuoteReturn; interface UseCompareCostsReturn { comparisons: ShallowRef; loading: ShallowRef; error: ShallowRef; refresh: () => Promise; } /** * Compare an operation's cost across chains through a caller-supplied * function, mirroring the React hook. Re-fetches when the input's *value* * changes (appkit-core's `compareCostsKey`), not when a new array or object * with the same content is passed; only the newest request may write. */ declare function useCompareCosts(input: MaybeRefOrGetter, compareCosts?: MaybeRef): UseCompareCostsReturn; interface UseExecuteRouteReturn { execute: (quote: ExecutableQuote, recipient: string, options?: ExecuteRouteOptions) => Promise; executing: ShallowRef; result: ShallowRef; error: ShallowRef; reset: () => void; } /** * Execute a quoted route once through a caller-supplied executor, mirroring * the React hook. The recipient check and error shape are appkit-core's. A * second call while one is in flight is refused, and `reset()` deliberately * does not unlock that guard: the first request is still out there. This is a * side-effect single-flight contract, not the shared action guard's * latest-error publication contract, so it intentionally remains local. */ declare function useExecuteRoute(executeRoute?: MaybeRef): UseExecuteRouteReturn; interface UseTokenListOptions { /** Load on creation (default: true). */ autoLoad?: boolean; /** Custom sources; the manager's defaults otherwise. */ sources?: TokenListSource[]; /** Reuse a caller-owned manager instead of creating one. */ manager?: TokenListManager; } interface UseTokenListReturn { /** Tokens for the given chain, or all chains when none is given. */ tokens: ShallowRef; isLoading: ShallowRef; /** True once a load has completed at least once. */ isLoaded: ShallowRef; error: ShallowRef; /** Force a refresh from all sources. */ refetch: () => Promise; } /** * Token list for a chain, mirroring the React hook. The list logic, caching * and chain filtering are `TokenListManager`'s; this file is Vue plumbing. * The chain id is CAIP-2; a non-EVM chain yields the unfiltered list rather * than a bogus numeric filter. */ declare function useTokenList(chainId?: MaybeRefOrGetter, options?: UseTokenListOptions): UseTokenListReturn; interface UseTokenSearchOptions { /** Reuse a caller-owned manager; otherwise one shared instance per page. */ manager?: TokenListManager; /** Debounce in ms (default 300). */ debounceMs?: number; /** Max results per bucket (default 20). */ limit?: number; } interface UseTokenSearchReturn { results: ShallowRef; /** True from the first keystroke until the debounced search has run. */ isSearching: ShallowRef; } /** * Debounced token search by symbol, name or address, mirroring the React * hook. Matching lives in `TokenListManager.search`; this file only debounces * and keeps a late timer from writing after the query moved on. */ declare function useTokenSearch(query: MaybeRefOrGetter, chainId?: MaybeRefOrGetter, options?: UseTokenSearchOptions): UseTokenSearchReturn; interface UseValidateDestinationReturn { validation: ComputedRef; } /** * Syntactic destination checks, shared with the React hook through * `@naculus/connect-appkit-core`. Returns a machine-readable `issue`; the * Vue package carries no locale table, so the caller maps it to a string. * `level: "ok"` means nothing wrong was found — not that it is safe. */ declare function useValidateDestination(address: MaybeRefOrGetter): UseValidateDestinationReturn; interface TokenInfo { /** ERC-20 token contract address */ address: `0x${string}`; symbol: string; decimals: number; name?: string; } /** Minimal read-only contract; a viem PublicClient satisfies it. */ interface TokenBalanceReader { readContract(args: { address: `0x${string}`; abi: typeof ERC20_MIN_ABI; functionName: "balanceOf"; args: readonly [`0x${string}`]; }): Promise; } interface TokenBalanceResult extends TokenInfo { /** Raw balance in the smallest unit as a decimal string, or null if unread. */ balance: string | null; /** Human-readable balance, or null if unread. */ formatted: string | null; } interface UseTokenBalanceOptions { /** Auto-refresh interval in milliseconds. Default: no auto-refresh. */ refreshInterval?: MaybeRefOrGetter; } interface UseTokenBalanceReturn { tokenBalances: ShallowRef; isFetching: ShallowRef; error: ShallowRef; refetch: () => Promise; getTokenBalance: (tokenAddress: `0x${string}`) => TokenBalanceResult | undefined; } /** * ERC-20 balances of an EVM account through a caller-owned reader. * * Mirrors the React hook: one token failing to read leaves that entry with a * null balance and does not fail the others. A late response for a previous * account, reader or token list is dropped. */ declare function useTokenBalance(account: MaybeRefOrGetter, client: MaybeRefOrGetter, tokens: MaybeRefOrGetter, options?: UseTokenBalanceOptions): UseTokenBalanceReturn; /** Minimal read contract; a viem PublicClient for the chain satisfies it. */ interface DelegationNonceReader { /** The chain this client reads; must match `chainId`. */ chain?: { id: number; }; getTransactionCount(args: { address: `0x${string}`; blockTag: "pending"; }): Promise; } interface UseDelegateOptions { /** * Pass the embedded connector, and only while its session is the one in * `session`. Browser and WalletConnect connectors have no * `sendDelegation` and are refused; the embedded connector itself refuses * a session it did not create. */ connector: MaybeRefOrGetter | null | undefined>; session: MaybeRefOrGetter; account: MaybeRefOrGetter; chainId: MaybeRefOrGetter; client: MaybeRefOrGetter; /** * Implementations this app trusts to run with full control of the * account. Nothing is allowed unless listed; revoking always is. */ allowlist: MaybeRefOrGetter; } interface UseDelegateReturn { delegate: (delegate: `0x${string}`) => Promise; revoke: () => Promise; result: ShallowRef; isPending: ShallowRef; error: ShallowRef; reset: () => void; } /** * EIP-7702 owner path, mirroring the React hook: delegate or revoke the * connected account with a type-4 transaction it sends itself. Core's * `delegateAccount` applies the allowlist and computes the nonces; a * connector without `sendDelegation` fails with `method_unsupported` before * anything is read. One operation in flight; a superseded result is dropped. */ declare function useDelegate(options: UseDelegateOptions): UseDelegateReturn; /** Minimal read-only contract; a viem PublicClient can supply getCode. */ interface DelegationCodeReader { getCode(args: { address: `0x${string}`; }): Promise<`0x${string}` | undefined>; } interface UseDelegationReturn { delegated: ComputedRef; delegate: ComputedRef<`0x${string}` | null>; isFetching: ShallowRef; error: ShallowRef; refetch: () => Promise; } /** Read current EIP-7702 delegation without treating an unread account as undelegated. */ declare function useDelegation(account: MaybeRefOrGetter, client: MaybeRefOrGetter, chainId?: MaybeRefOrGetter): UseDelegationReturn; interface UsePaymentFetchReturn { /** Fetch through the paying fetch; resolves to its full result. */ payFetch: PaymentFetch; /** True while any request is in flight. */ isPending: ShallowRef; /** * The most recently completed payment. Every paid request is recorded, in * completion order, until `reset()`. */ lastPayment: ShallowRef; error: ShallowRef; reset: () => void; } interface UsePaymentFetchOptions { verify?: (result: PaymentFetchResult) => Promise; verifyRetry?: VerifyRetryOptions; } /** * Reactive state around a caller-owned paying fetch — `createX402Fetch` * (`@naculus/payments-x402`) or `createMppFetch` (`@naculus/payments-mpp`), * built with the session key and limits the app chooses. What may be paid is * decided there and by the session key's policy, not here. */ declare function usePaymentFetch(pay: MaybeRef, options?: UsePaymentFetchOptions): UsePaymentFetchReturn; interface UseMppSessionReturn { fetch: MppSessionRequest; meter: { add(units: bigint): void; }; pending: ShallowRef; channel: ShallowRef; lastReceipt: ShallowRef; recoveryChannelId: ShallowRef; isPending: ShallowRef; error: ShallowRef; close(): Promise; forceClose(): Promise; reset(): void; } /** Reactive state around an MPP session fetch built and owned by the app. */ declare function useMppSession(session: MaybeRef): UseMppSessionReturn; interface UseSolanaSessionKeyReturn { /** The connected owner's keys, newest first. */ keys: ShallowRef; /** Create a key; the owner's wallet approves it once. */ create: (scope: SolanaSessionKeyScope) => Promise<{ key: SolanaSessionKeyInfo; signature: string; }>; /** Stop a key; the owner's wallet signs the on-chain Revoke. */ revoke: (id: string) => Promise<{ signature: string; }>; refresh: () => Promise; isPending: ShallowRef; error: ShallowRef; } /** * Solana session keys that pay x402 / MPP without a prompt (pass * `{ sessionKey: { manager, id }, rpc }` to the paying fetch). The app owns * the `SolanaSessionKeyManager` and the RPC; `owner` is the connected * wallet's Solana signer role. */ declare function useSolanaSessionKey(deps: MaybeRef): UseSolanaSessionKeyReturn; interface NameLookupReturn { data: ShallowRef; isLoading: ComputedRef; error: ShallowRef; refetch: () => void; } type UseResolveNameReturn = NameLookupReturn; /** Resolve a reactive ENS or SNS name to an address. */ declare function useResolveName(name: MaybeRefOrGetter, options?: { skip?: MaybeRefOrGetter; resolverConfig?: MaybeRefOrGetter; }): UseResolveNameReturn; type UseLookupAddressReturn = NameLookupReturn; /** Reverse-resolve a reactive address, optionally scoped to a CAIP-2 chain. */ declare function useLookupAddress(address: MaybeRefOrGetter, options?: { chainId?: MaybeRefOrGetter; skip?: MaybeRefOrGetter; resolverConfig?: MaybeRefOrGetter; }): UseLookupAddressReturn; interface UseSolanaAccountReturn { address: ComputedRef; caip10: ComputedRef; chainId: ComputedRef; isConnected: ComputedRef; } /** Read the connected Solana CAIP-10 account from any wallet. */ declare function useSolanaAccount(accounts: MaybeRefOrGetter, connected: MaybeRefOrGetter): UseSolanaAccountReturn; interface UseChainReturn { /** The configured chain matching the connected CAIP-2 id, or null. */ currentChain: ComputedRef; /** A description of the connected chain, for any namespace. */ chainInfo: ComputedRef; /** Only the chains the connected wallet could actually switch to. */ availableChains: ComputedRef; /** The EIP-155 number, or null when the connected chain has none. */ currentChainNumber: ComputedRef; namespace: ComputedRef; } /** * The connected chain, and the chains it is possible to switch to. * * Identical in substance to the React `useChain`, because it is the same five * functions from `@naculus/connect-appkit-core`. This file contains no * decision at all — which is the point: `availableChains` filtering to the * connected namespace, `chainInfo` describing non-EVM chains, and * `currentChainNumber` refusing to invent a number for Solana are all * properties of the shared core, so both bindings get them or neither does. * * Takes its chain list and connected id as arguments; Vue has no equivalent of * the React provider here. */ declare function useChain(chains: MaybeRefOrGetter, chainId: MaybeRefOrGetter): UseChainReturn; interface UsePassphraseGateReturn { /** The open request, or null when nothing is being asked. */ request: Readonly>>; /** Answer the open request. */ submit: (passphrase: string) => void; /** Abandon it, failing the load or save that asked. */ cancel: (reason?: string) => void; /** Drop the held passphrase, so the next operation asks again. */ forget: (reason?: string) => void; } /** * Bind a `PassphraseGate` into Vue reactivity. * * The gate itself lives in `@naculus/connect-core` rather than in either * framework package, because the thing it bridges — an encrypted storage * adapter asking for a passphrase from inside code that has never heard of a * component — is the same problem in React and in Vue. One implementation, * two thin bindings. * * ```ts * const gate = new PassphraseGate() * const wallet = new PocketWallet({ encryptionPassphrase: gate.request }) * const { request, submit, cancel } = usePassphraseGate(gate) * ``` * * `shallowRef`, not `ref`: the request is a small immutable snapshot the gate * replaces wholesale, and deep reactivity over it would proxy an object that * never mutates in place. */ declare function usePassphraseGate(gate: PassphraseGate): UsePassphraseGateReturn; interface UseSolanaBalanceReturn { balance: ReturnType>; isFetching: ReturnType>; error: ReturnType>; refetch: () => Promise; } /** * The SOL balance of an address. * * The whole of this file is Vue plumbing. Every decision that took thought — * exact lamport arithmetic, distinguishing an unfunded account from an emptied * one, refusing to invent a zero — is in `@naculus/connect-core`, shared with * the React hook. That is what makes "author in React, ship to Vue" true for * the logic: what does not translate is only the reactivity. * * Takes its address and endpoint as arguments because Vue has no equivalent of * the React provider here. Refs and getters both work. */ declare function useSolanaBalance(address: MaybeRefOrGetter, rpcUrl: MaybeRefOrGetter): UseSolanaBalanceReturn; type TxStatus = "pending" | "mined" | "confirmed" | "failed" | "unknown"; interface TxStatusEntry { hash: string; chainId: number; from: string; to: string; value: string; data?: string; nonce?: number; status: TxStatus; blockNumber?: number; blockHash?: string; gasUsed?: string; effectiveGasPrice?: string; createdAt: number; confirmedAt?: number; updatedAt: number; error?: string; label?: string; memo?: string; replacementCount?: number; } /** Structural contract accepted by the transaction-monitor composables. */ interface TxMonitorLike { watchTx(hash: string, chainId: number, options?: Record): Promise; stopWatching(hash: string, chainId?: number): void; getTxStatus(hash: string, chainId?: number): TxStatusEntry | null; getTxHistory(address?: string, chainId?: number): Promise; refreshTx(hash: string, chainId?: number): Promise; on(event: "statusChange", listener: (entry: TxStatusEntry) => void): this; on(event: "confirmed", listener: (entry: TxStatusEntry) => void): this; on(event: "failed", listener: (entry: TxStatusEntry) => void): this; off(event: string, listener: (entry: TxStatusEntry) => void): this; } interface UseTxMonitorReturn { entry: ShallowRef; status: ComputedRef; isLoading: ShallowRef; isWatching: ShallowRef; error: ShallowRef; refresh: () => Promise; stopWatching: () => void; } /** * Reactively monitor one transaction using a caller-owned TxMonitor. * * Vue has no AppKit monitor provider, so the monitor is explicit. The hook * listens only while its source values are current; a late promise from a * previous hash, chain, or monitor cannot overwrite the active result. */ declare function useTxMonitor(hash: MaybeRefOrGetter, chainId: MaybeRefOrGetter, monitor: MaybeRefOrGetter): UseTxMonitorReturn; interface UseLastTxReturn { lastTx: ShallowRef; lastConfirmedTx: ShallowRef; lastFailedTx: ShallowRef; clear: () => void; } /** Track the latest confirmed or failed transaction from a caller-owned monitor. */ declare function useLastTx(monitor: MaybeRefOrGetter): UseLastTxReturn; interface UseTxHistoryReturn { entries: ShallowRef; isLoading: ShallowRef; error: ShallowRef; refresh: () => Promise; summary: ComputedRef<{ pending: number; confirmed: number; failed: number; }>; } /** Query and keep a caller-owned monitor's transaction history current. */ declare function useTxHistory(address: MaybeRefOrGetter, chainId: MaybeRefOrGetter, monitor: MaybeRefOrGetter): UseTxHistoryReturn; /** The part of a connector this needs. Anything with these two is enough. */ interface CapabilityClient { getCapabilities?: (session: unknown) => Promise>; } interface UseCapabilitiesReturn { /** Per-chain, keyed by CAIP-2. Null until a query has actually returned. */ capabilities: ShallowRef | null>; /** The connected chain's entry, for the common case. */ current: ComputedRef; /** Atomic support on the connected chain. `"unknown"` until told otherwise. */ atomic: ComputedRef; isFetching: ShallowRef; error: ShallowRef; refetch: () => Promise; } /** * What the connected wallet says it can do — EIP-5792 * `wallet_getCapabilities`. * * The query a dApp makes *before* choosing how to execute: ask whether the * wallet batches atomically, then send one batch or a sequence, rather than * sending a batch and learning the answer from a rejection. * * Identical in substance to the React hook, because every decision in it — * normalizing the raw answer, the CAIP-2/hex lookup, and `"unknown"` meaning * "not told" rather than "no" — is in `@naculus/connect-appkit-core` and * neither binding gets to disagree about it. * * Takes its client, session and chain as arguments. Vue has no equivalent of * the React provider here, which is the same shape `useChain` uses. */ declare function useCapabilities(client: MaybeRefOrGetter, session: MaybeRefOrGetter, chainId: MaybeRefOrGetter): UseCapabilitiesReturn; interface UseSolanaRolesReturn { /** The roles the connected account can fill, or null with a reason. */ roles: ComputedRef; /** Why `roles` is null. Null when it is not. */ absence: ComputedRef; /** Which account this is. Never null while `roles` is present. */ identity: ComputedRef; /** * Signs without submitting. Null when the wallet declared it cannot *and* * null when nothing is known; check `absence` to tell those apart. */ signer: ComputedRef; /** Signs and broadcasts itself. Null under the same two conditions. */ payer: ComputedRef; } /** * Which roles the connected Solana account can actually fill. * * Identical in substance to the React hook: every judgement — that a null * `signer` from the connector is an answer while a missing `getRoles` is * not, that an EVM session is never asked — is in * `@naculus/connect-appkit-core`, and neither binding gets to disagree. * * Takes the connector and session as arguments, the shape `useCapabilities` * uses, because Vue has no provider here. Pass the session as a ref so an * account switch that replaces it is noticed; the connector reads the live * address either way, so a caller holding a stale snapshot still gets the * account the wallet moved to. */ declare function useSolanaRoles(connector: MaybeRefOrGetter, session: MaybeRefOrGetter<{ walletType?: string; } | null | undefined>): UseSolanaRolesReturn; export { AppkitAccordion, AppkitAccountButton, AppkitAlertDialog, AppkitAvatar, AppkitBadge, AppkitButton, AppkitCard, AppkitCardContent, AppkitCardDescription, AppkitCardFooter, AppkitCardHeader, AppkitCardTitle, AppkitCheckbox, AppkitCollapsible, AppkitConnectButton, AppkitDialog, AppkitDropdownMenu, AppkitInput, AppkitPopover, AppkitProgress, AppkitScrollArea, AppkitSelect, AppkitSeparator, AppkitSkeleton, AppkitSwitch, AppkitTabs, AppkitToggleGroup, AppkitTooltip, useAccount, useAccounts, useAuthorizations, useBalance, useCapabilities, useChain, useCompareCosts, useConnect, useCreateSessionKey, useDelegate, useDelegation, useDelegationPolicy, useDisconnect, useERC20Approve, useERC20Transfer, useERC20TransferSimulation, useEmbeddedWallet, useExecuteCalls, useExecuteRoute, useLastTx, useLookupAddress, useMppSession, useNotification, usePassphraseGate, usePaymentFetch, useResolveName, useRevokeSession, useRouteQuote, useSIWxLogin, useSIWxSession, useSendCalls, useSendTransaction, useSendUserOperation, useSendWithSession, useSession, useSessionKeys, useSignInWithEthereum, useSignInWithX, useSignMessage, useSimulateTransfer, useSiwxAuthSession, useSmartAccount, useSolanaAccount, useSolanaBalance, useSolanaRoles, useSolanaSessionKey, useSolanaTransaction, useSwitchChain, useTokenBalance, useTokenList, useTokenSearch, useTransactionSimulation, useTxHistory, useTxMonitor, useUserOpStatus, useValidateDestination, useX402Signer }; export type { AccountEntry, CapabilityClient, DelegationCodeReader, DelegationNonceReader, DeployTransactionSender, ERC20Reader, ERC20Sender, ERC20Transaction, EmbeddedWalletAccountView, EmbeddedWalletView, EvmTransaction, ExecuteCallsAction, ExecutionPreview, ExecutionRoute, GetCallsStatusAction, GetSolanaTransactionStatusAction, NativeBalanceReader, PaymasterService, PreviewExecutionAction, SendCallsAction, SendCallsOptions, SendCallsStatus, SendSolanaTransactionAction, SendTransactionAction, SendTransactionStatus, SessionKeyComposableOptions, ShowCallsStatusAction, SignMessageAction, SignSolanaTransactionAction, SiwxResult, SiwxSessionLike, SiwxSignInAction, SiwxSignInOptions, SolanaTransaction, TokenBalanceReader, TokenBalanceResult, TokenInfo, TxMonitorLike, TxStatus, TxStatusEntry, UseAccountReturn, UseAccountsReturn, UseAuthorizationsOptions, UseAuthorizationsReturn, UseBalanceOptions, UseBalanceReturn, UseCapabilitiesReturn, UseChainReturn, UseCompareCostsReturn, UseConnectReturn, UseCreateSessionKeyReturn, UseDelegateOptions, UseDelegateReturn, UseDelegationPolicyOptions, UseDelegationPolicyReturn, UseDelegationReturn, UseDisconnectReturn, UseERC20ApproveOptions, UseERC20ApproveReturn, UseERC20TransferOptions, UseERC20TransferReturn, UseERC20TransferSimulationOptions, UseERC20TransferSimulationReturn, UseEmbeddedWalletOptions, UseEmbeddedWalletReturn, UseExecuteCallsOptions, UseExecuteCallsReturn, UseExecuteRouteReturn, UseLastTxReturn, UseLookupAddressReturn, UseMppSessionReturn, UseNotificationOptions, UseNotificationReturn, UsePassphraseGateReturn, UsePaymentFetchOptions, UsePaymentFetchReturn, UseResolveNameReturn, UseRevokeSessionReturn, UseRouteQuoteOptions, UseRouteQuoteReturn, UseSIWxLoginReturn, UseSIWxSessionOptions, UseSIWxSessionReturn, UseSendCallsOptions, UseSendCallsReturn, UseSendTransactionReturn, UseSendUserOperationOptions, UseSendUserOperationReturn, UseSendWithSessionReturn, UseSessionKeysReturn, UseSessionReturn, UseSignInWithEthereumOptions, UseSignInWithEthereumReturn, UseSignInWithXReturn, UseSignMessageReturn, UseSimulateTransferOptions, UseSimulateTransferReturn, UseSiwxAuthSessionOptions, UseSiwxAuthSessionReturn, UseSmartAccountOptions, UseSmartAccountReturn, UseSolanaAccountReturn, UseSolanaBalanceReturn as UseSolanaBalanceVueReturn, UseSolanaRolesReturn, UseSolanaSessionKeyReturn, UseSolanaTransactionOptions, UseSolanaTransactionReturn, UseSwitchChainReturn, UseTokenBalanceOptions, UseTokenBalanceReturn, UseTokenListOptions, UseTokenListReturn, UseTokenSearchOptions, UseTokenSearchReturn, UseTransactionSimulationOptions, UseTransactionSimulationReturn, UseTxHistoryReturn, UseTxMonitorReturn, UseUserOpStatusOptions, UseUserOpStatusReturn, UseValidateDestinationReturn, UseX402SignerReturn, UserOpSigner, UserOpStatus };