import { type Fact, type StoredHook, type StoredSummary } from "../state/memory-db.js"; export { buildPlannerHookAgenda, isFuturePlannedHook, isHookWithinChapterWindow, } from "./hook-agenda.js"; export { parseChapterSummariesMarkdown, parseCurrentStateFacts, parsePendingHooksMarkdown, renderHookSnapshot, renderSummarySnapshot, } from "./story-markdown.js"; export interface MemorySelection { readonly summaries: ReadonlyArray; readonly hooks: ReadonlyArray; readonly activeHooks: ReadonlyArray; readonly facts: ReadonlyArray; readonly volumeSummaries: ReadonlyArray; readonly dbPath?: string; } export interface VolumeSummarySelection { readonly heading: string; readonly content: string; readonly anchor: string; } export declare function retrieveMemorySelection(params: { readonly bookDir: string; readonly chapterNumber: number; readonly goal: string; readonly outlineNode?: string; readonly mustKeep?: ReadonlyArray; }): Promise; export declare function extractQueryTerms(goal: string, outlineNode: string | undefined, mustKeep: ReadonlyArray): string[]; //# sourceMappingURL=memory-retrieval.d.ts.map