import { Jsonify } from "type-fest"; import { HtmlStorageLocation, StorageLocation } from "../../enums"; export type StorageOptions = { storageLocation?: StorageLocation; useSecureStorage?: boolean; userId?: string; htmlStorageLocation?: HtmlStorageLocation; keySuffix?: string; }; export type MemoryStorageOptions = StorageOptions & { deserializer?: (obj: Jsonify) => T };