import { Options } from '../internal/resolveValue.ts'; import { Observer } from '../Observer/Observer.ts'; /** * In-memory state management. Data lives only for the current page lifecycle. * * Unlike LocalState/SessionState, values are stored by reference — there is no * JSON roundtrip. This means Date/Map/Set/class-instances survive a get/set * cycle intact (which is usually what you want), but it also means stored * objects are NOT defensively copied. */ export declare class MemoryState extends Observer { private static storage; static get(key: string, options: Options & { strict: true; }): T; static get(key: string, options: Options & { fallback: T; }): T; static get(key: string, options?: Options): T | undefined; static set(key: string, value: T): void; static remove(key: string): void; static clear(): void; static has(key: string): boolean; }