import { SociablyThread, SociablyUser, UniqueOmniIdentifier } from '@sociably/core'; import type { MarshallableInstance } from '@sociably/core/base/Marshaler'; declare enum MemoCacheTargetType { LocalStorage = 0, SessionStorage = 1 } type MemoCacheTargetValue = { scope: MemoCacheTargetType; id: string; }; declare class MemoCacheTarget implements SociablyThread, SociablyUser, MarshallableInstance<{ id: string; }> { static typeName: string; static fromJSONValue({ scope, id }: MemoCacheTargetValue): MemoCacheTarget; scope: 'localStorage' | 'sessionStorage'; id: string; readonly platform: "webview"; readonly $$typeofUser = true; readonly $$typeofThread = true; constructor(scope: 'localStorage' | 'sessionStorage', id: string); get uid(): string; get uniqueIdentifier(): UniqueOmniIdentifier; toJSONValue(): MemoCacheTargetValue; typeName(): string; } export default MemoCacheTarget;