import type { Address } from 'viem'; import type { SIWESession } from '../connectors/types.js'; /** * Generate a random nonce for SIWE */ export declare function generateNonce(): string; /** * Create a SIWE message */ export declare function createSIWEMessage(params: { address: Address; chainId: number; domain: string; nonce: string; statement?: string; uri?: string; version?: string; issuedAt?: string; expirationTime?: string; }): string; /** * Store SIWE session for a specific address */ export declare function storeSIWESession(session: SIWESession): void; /** * Get stored SIWE session for a specific address */ export declare function getSIWESession(address: Address): SIWESession | null; /** * Clear SIWE session for a specific address */ export declare function clearSIWESession(address: Address): void; /** * Clear all SIWE sessions */ export declare function clearAllSIWESessions(): void; /** * Check if address has valid SIWE session */ export declare function hasValidSIWESession(address: Address): boolean;