/** * Reads delegation records from session-tracker persistence files. * * Provides a public API for reading hierarchy-manifest.json and child .json * files that session-tracker owns. This is the canonical read path for * delegation data — other modules (e.g., delegation-persistence) should * call this function rather than reading session-tracker files directly. * * @module session-tracker/read-delegations */ import type { ChildSessionRecord, HierarchyManifest } from "./types.js"; /** * Reads all raw delegation data from session-tracker persistence. * * Iterates all `ses_*` directories under `.hivemind/session-tracker/`, * reads each hierarchy-manifest.json and individual child .json files, * and returns the unvalidated raw hierarchy trees plus child records. * * @param trackerRoot - Absolute path to `.hivemind/session-tracker/`. * @returns Record of child session ID to raw JSON data read from disk. */ export declare function readRawDelegations(trackerRoot: string): Record; //# sourceMappingURL=read-delegations.d.ts.map