/** * Give a record map a null prototype. Record keys come from MCP tool input; on * a plain object `__proto__` or `constructor` resolve to Object.prototype or a * built-in, which a handler would then write into. A null-prototype map only * ever returns its own records. */ export declare function nullPrototypeRecords(map: M | undefined | null): M; /** Only an absent store is empty. Failed reads must never authorize replacement. */ export declare function readRecordStore(path: string, collection: string, empty: () => T): T; /** * JSON object store read for workflow, hive-mind, and swarm (#4737). * Same rule as {@link readRecordStore}: only a missing file is empty. * A parse failure, a non-object document, or a document `accept` rejects is * copied to `${path}.corrupt-` and thrown, so a later save cannot * replace the original. */ export declare function readPreservedJsonStore(path: string, label: string, empty: () => T, accept?: (store: T) => boolean): T; //# sourceMappingURL=record-store.d.ts.map