/** * Interface for underlying storage solutions */ export interface PersistentStore { getItem: (key: string) => Promise | T; setItem: (key: string, data: T) => Promise | void; removeItem: (key: string) => Promise | void; } export type PersistedData = string | null | object;