import type { StoreSet } from "../backend-factory.js"; import type { BlackboardEntry, Decision, Entity, HandoffRecord, Relation } from "../../utils/types.js"; /** JSON.stringify with recursively sorted object keys — deterministic bytes. */ export declare function stableStringify(value: unknown): string; export declare class RecordExporter { private readonly recordsDir; constructor(twiningDir: string); postPath(entry: Pick): string; private write; private unlink; post(entry: BlackboardEntry): void; removePost(entry: Pick): void; decision(decision: Decision): void; entity(entity: Entity): void; removeEntity(id: string): void; relation(relation: Relation): void; removeRelation(id: string): void; handoff(record: HandoffRecord): void; } /** * Wrap a store set so every successful write is mirrored into the export * tree. Reads delegate untouched. Export failures are deliberately loud * (they throw): a silently stale export tree would commit wrong state. */ export declare function withRecordExport(stores: StoreSet, twiningDir: string): StoreSet; //# sourceMappingURL=record-export.d.ts.map