import { JWTAccessType } from '../types/jwt'; export declare enum SupportedWallet { Keplr = "keplr", Leap = "leap", Cosmostation = "cosmostation", MetaMaskSnap = "metamask-snap" } export interface WalletJWTOptions { expiresIn?: number; accessType?: JWTAccessType; leasePermissions?: Array<{ owner: string; dseq: string; gseq?: number; provider?: string; }>; } /** * Universal Wallet Adapter for JWT Generation * Automatically detects and uses the correct wallet API */ export declare class WalletAdapter { private jwtAuthManager; constructor(); /** * Detect available wallets in the browser */ detectAvailableWallets(): SupportedWallet[]; /** * Generate JWT using Keplr wallet */ generateJWTWithKeplr(chainId: string, address: string, options?: WalletJWTOptions): Promise; /** * Generate JWT using Leap wallet * API: https://docs.leapwallet.io/cosmos/for-dapps-connect-to-leap/api-reference */ generateJWTWithLeap(chainId: string, address: string, options?: WalletJWTOptions): Promise; /** * Generate JWT using Cosmostation wallet * Cosmostation has a different API structure */ generateJWTWithCosmostation(chainId: string, address: string, options?: WalletJWTOptions): Promise; /** * Generate JWT using MetaMask with Leap Cosmos Snap * Requires the Leap Cosmos Snap to be installed */ generateJWTWithMetaMaskSnap(chainId: string, address: string, options?: WalletJWTOptions): Promise; /** * Auto-detect wallet and generate JWT * Tries available wallets in order: Keplr -> Leap -> Cosmostation -> MetaMask */ generateJWTAuto(chainId: string, address: string, options?: WalletJWTOptions): Promise<{ token: string; wallet: SupportedWallet; }>; /** * Common JWT signing logic used by all wallet adapters */ private signJWTWithWallet; } //# sourceMappingURL=wallet-adapters.d.ts.map