import type { ExtensionAPI } from "../sdk/coding-agent/index.js"; import { Runtime } from "./runtime.js"; /** * Session/branch memory layer. * * This layer owns the branch-scoped observational-memory pipeline: * - the observer (`observer.ts` via `observer-trigger.ts`) extracts * observations from new conversation turns; * - the deterministic pruner (`deterministic-pruner.ts` via * `compaction-hook.ts`) drops low-value observations at compaction time; * - the summary render path (`compaction.ts`) produces the compacted memory * that is persisted into `session_memory_snapshots`; * - the snapshot persistence hooks (`compaction-hook.ts`, * `compaction-trigger.ts`, `observer-trigger.ts`) keep that session memory * alive across compactions. * * It is intentionally separate from `project-observation-memory.ts`, which * owns the per-machine + per-cwd, cross-session project observation store. */ export declare function registerSessionMemory(ext: ExtensionAPI, runtime: Runtime): void; //# sourceMappingURL=session-memory.d.ts.map