import { type OpenfortError } from '../errors/base.js'; import { type OpenfortEthereumBridgeConnector } from '../ethereum/OpenfortEthereumBridgeContext.js'; import type { OpenfortHookOptions } from '../types.js'; export interface AvailableWallet { id: string; name: string; icon?: string; connector: OpenfortEthereumBridgeConnector; } interface WalletAuthCallbacks { onConnect?: () => void; onError?: (error: string, openfortError?: OpenfortError) => void; } export declare function useWalletAuth(hookOptions?: OpenfortHookOptions): { isLoading: boolean; isError: boolean; isSuccess: boolean; error: OpenfortError | null | undefined; availableWallets: AvailableWallet[]; connectWallet: (connectorId: string, callbacks?: WalletAuthCallbacks) => Promise; linkWallet: (connectorId: string, callbacks?: WalletAuthCallbacks) => Promise; walletConnectingTo: string | null; }; export {};