import type { StandardConnectInput, StandardConnectOutput, WalletWithRequiredFeatures } from '@iota/wallet-standard'; import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query'; type ConnectWalletArgs = { /** The wallet to connect to. */ wallet: WalletWithRequiredFeatures; /** An optional account address to connect to. Defaults to the first authorized account. */ accountAddress?: string; } & StandardConnectInput; type ConnectWalletResult = StandardConnectOutput; type UseConnectWalletMutationOptions = Omit, 'mutationFn'> & { onConnected?: (params: { wallet: WalletWithRequiredFeatures; }) => void; }; /** * Mutation hook for establishing a connection to a specific wallet. */ export declare function useConnectWallet({ onConnected, mutationKey, ...mutationOptions }?: UseConnectWalletMutationOptions): UseMutationResult; export {}; //# sourceMappingURL=useConnectWallet.d.ts.map