import { PublicKey } from '@solana/web3.js'; /** * Represents a TOSS wallet user in the ecosystem * Enhanced with secure nonce account support for offline transactions */ export type TossUser = { userId: string; username: string; displayName?: string; wallet: { publicKey: PublicKey; isVerified: boolean; createdAt: string; }; nonceAccount?: { address: PublicKey; authorizedSigner: PublicKey; isBiometricProtected: boolean; expiresAt?: number; status: 'active' | 'expired' | 'revoked'; }; device: { id: string; name?: string; lastActive: string; client: 'mobile' | 'web' | 'desktop'; }; security: { biometricEnabled: boolean; biometricSalt?: string; nonceAccountRequiresBiometric: boolean; lastBiometricVerification?: number; }; status: 'active' | 'inactive' | 'restricted'; lastSeen: string; tossFeatures: { canSend: boolean; canReceive: boolean; isPrivateTxEnabled: boolean; maxTransactionAmount: number; offlineTransactionsEnabled?: boolean; nonceAccountEnabled?: boolean; }; createdAt: string; updatedAt: string; }; /** * Minimal user info for transaction context */ export type TossUserContext = Pick & { deviceId: string; sessionId: string; }; export declare const exampleTossUser: TossUser; //# sourceMappingURL=tossUser.d.ts.map