/** * Gera um sessionID único usando UUID v4 */ export declare const generateUUID: () => string; /** * Classe para gerenciar sessionID com localStorage */ export declare class SessionStorage { private static readonly STORAGE_KEY; private static readonly STORAGE_TIMESTAMP_KEY; /** * Obtém ou cria um sessionID */ static getOrCreateSessionId(generateFn?: () => string): string; /** * Obtém sessionID do storage */ static getSessionId(): string | null; /** * Define sessionID no storage */ static setSessionId(sessionId: string): void; /** * Remove sessionID do storage */ static clearSession(): void; /** * Verifica se a sessão expirou (24 horas) */ static isSessionExpired(maxAgeHours?: number): boolean; /** * Reseta a sessão criando um novo ID */ static resetSession(generateFn?: () => string): string; /** * Cria uma nova sessão sem verificar o localStorage * Usado quando loadPreviousSession é false */ static createNewSessionId(generateFn?: () => string): string; } //# sourceMappingURL=sessionStorage.d.ts.map