/** * Thread Memory — fork memory from source to branch threads. */ import type { Database } from "./schema.js"; /** * Fork memory from a source thread to a new branch thread. * Copies active (non-superseded, non-expired) semantic_notes with new IDs, * remaps linked_notes references, copies note_embeddings, copies * temporal_narratives, and copies all episodes (with new IDs, marked * consolidated so the branch does not re-consolidate them into duplicate * notes). Wrapped in a single transaction for atomicity. * Returns the number of items copied. */ export declare function forkMemory(db: Database, sourceThreadId: number, targetThreadId: number): { notesCopied: number; narrativesCopied: number; episodesCopied: number; }; //# sourceMappingURL=synthesis.d.ts.map