import { type SessionApi, type SessionMetadata, type SessionRepo, type SessionTreeEntry } from "../harness/types.js"; export declare class InMemorySessionRepo implements SessionRepo { private sessions; create(options?: { id?: string; }): Promise; open(metadata: SessionMetadata): Promise; list(): Promise; delete(metadata: SessionMetadata): Promise; fork(sourceMetadata: SessionMetadata, options: { entryId?: string; position?: "before" | "at"; id?: string; }): Promise; /** 2c session-sync ([266]②): the FULL log for export. InMemory holds everything (no F3 floor), so * `getEntries()` IS the full oldest-first log with `id`/`parentId` verbatim. */ exportEntries(sessionId: string): Promise; /** 2c session-sync ([266]②): import a verbatim log into `sessionId`. The single invariant gate runs first * ({@link validateEntriesForImport}, fail-closed); `owner` is a durable multi-tenant concept that the local * in-memory backend has no field for, so it is accepted but unused here. */ importEntries(sessionId: string, owner: string | undefined, entries: SessionTreeEntry[]): Promise; } //# sourceMappingURL=memory-repo.d.ts.map