/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */ /** * SessionMemoryStore manages pinned in-memory notes for the current session. * * - Session-scoped: all memories are lost when the process exits. * - In-memory only: no persistence, no token cap enforced here. * - IDs are monotonically incrementing (mem-1, mem-2, ...) and persist through * clear() calls to ensure uniqueness across the lifetime of the store. */ export interface SessionMemory { id: string; text: string; createdAt: number; } export declare class SessionMemoryStore { private memories; private counter; /** Add a memory, returns the assigned ID. Returns empty string if text is blank. */ add(text: string): string; /** Remove a memory by ID, returns true if found */ remove(id: string): boolean; /** List all memories */ list(): readonly SessionMemory[]; /** Format memories for compaction output. Returns null if no memories. */ format(): string | null; /** Get total estimated tokens across all memories (rough: chars / 4) */ estimateTokens(): number; /** Clear all memories. NOTE: counter is intentionally NOT reset, IDs must remain unique * across the lifetime of the store even after a clear(). */ clear(): void; } //# sourceMappingURL=session-memory.d.ts.map