import type { ONIModel } from "../../models/types.js"; import type { MemoryLoader } from "./index.js"; export declare class MemoryExtractor { private readonly model; private readonly loader; constructor(model: ONIModel, loader: MemoryLoader); /** * Extract durable facts from a session summary and persist as an episodic entry. * * If the summary is empty, persists a minimal entry without calling the model. * Otherwise, asks the model to extract facts in the format: * - [category] Concise fact statement */ extractFromSummary(sessionId: string, summary: string): Promise; /** * Scan episodic entries for recurring facts and promote them to semantic memory. * * Only calls the model if 3+ episodic entries exist and at least one fact * appears across 3+ distinct sessions. */ consolidate(): Promise; } //# sourceMappingURL=extractor.d.ts.map