export interface KeyValueStorageInterface { setItem(key: string, value: string): Promise; getItem(key: string): Promise; removeItem(key: string): Promise; clear(): Promise; } export type SameSite = 'strict' | 'lax' | 'none'; export interface CookieStorageData { domain?: string; path?: string; /** * Expiration in days */ expires?: number; secure?: boolean; sameSite?: SameSite; }