import { type RuntimeStateDelta } from "../models/runtime-state.js"; import type { Fact, StoredHook, StoredSummary } from "./memory-db.js"; import { type RuntimeStateSnapshot } from "./state-reducer.js"; export interface RuntimeStateArtifacts { readonly snapshot: RuntimeStateSnapshot; readonly resolvedDelta: RuntimeStateDelta; readonly currentStateMarkdown: string; readonly hooksMarkdown: string; readonly chapterSummariesMarkdown: string; } export interface NarrativeMemorySeed { readonly summaries: ReadonlyArray; readonly hooks: ReadonlyArray; } export declare function loadRuntimeStateSnapshot(bookDir: string): Promise; export declare function buildRuntimeStateArtifacts(params: { readonly bookDir: string; readonly delta: RuntimeStateDelta; readonly language: "zh" | "en"; readonly allowReapply?: boolean; }): Promise; export declare function saveRuntimeStateSnapshot(bookDir: string, snapshot: RuntimeStateSnapshot): Promise; export declare function loadNarrativeMemorySeed(bookDir: string): Promise; export declare function loadSnapshotCurrentStateFacts(bookDir: string, chapterNumber: number): Promise>; //# sourceMappingURL=runtime-state-store.d.ts.map