/** * Represents a durable nonce account for offline transaction support * Enables secure offline transaction creation with replay protection */ export interface NonceAccountInfo { address: string; owner: string; authorizedSigner: string; currentNonce: number; lastUsedNonce: number; blockhash: string; isBiometricProtected: boolean; createdAt: number; lastModified: number; isStoredSecurely: boolean; encryptedData?: string; minRentLamports?: number; status?: 'active' | 'expired' | 'revoked'; } /** * Options for creating a durable nonce account */ export interface CreateNonceAccountOptions { requireBiometric?: boolean; securityLevel?: 'standard' | 'high' | 'maximum'; minNonceCount?: number; maxNonceCount?: number; persistToSecureStorage?: boolean; allowCloudBackup?: boolean; autoRenew?: boolean; expiryDays?: number; } /** * Nonce account cache entry for efficient offline usage */ export interface NonceAccountCacheEntry { accountInfo: NonceAccountInfo; nonces: number[]; expiresAt: number; } /** * Represents a transaction prepared for offline use with nonce account */ export interface OfflineTransaction { id: string; nonceAccount: string; nonce: number; transaction: string; signature?: string; status: 'prepared' | 'signed' | 'submitted' | 'confirmed' | 'failed'; createdAt: number; expiresAt: number; metadata?: { description?: string; tags?: string[]; [key: string]: any; }; } //# sourceMappingURL=nonceAccount.d.ts.map