1 import type { OfflineKey } from '@proton/shared/lib/authentication/offlineKey';
3 export type PersistedSessionBlob =
11 offlineKeyPassword: OfflineKey['password'];
14 export interface DefaultPersistedSession {
21 payloadVersion: 2 | 1;
22 payloadType: 'default';
26 export interface OfflinePersistedSession extends Omit<DefaultPersistedSession, 'payloadType'> {
27 offlineKeySalt: string;
28 payloadType: 'offline';
31 export type PersistedSession = OfflinePersistedSession | DefaultPersistedSession;
33 export type PersistedSessionWithLocalID = PersistedSession & {