import { type ReplayLine } from './check-cache.js'; import { type Step } from './steps.js'; /** * Assembles what a composite's skip replays: the excerpts its constituents recorded, in the order its own * steps name them. * * A constituent that is itself a composite holds a flat, attributed list of its own, so splicing one in keeps * the assembly flat and a skipped `ci` replays a package's `test` rather than one opaque `check:strict` * line. Nothing is computed and nothing is inferred: a constituent with no admissible entry is absent from * the assembly. * * A constituent is looked up at the scope its own process anchors at: the composite's anchor, or the monorepo * root for an element carrying `-w`, which is how a package-scoped composite reaches a root command. * * An entry is admissible where the run that certified it is this one and the tree it describes is this one. * The witness is what a run stamps on an excerpt it records and on one it recalls and replays; the tree hash * is what bounds an identity a process carried out of the run that issued it. */ export declare function assembleReplay(options: { anchorDir: string; monorepoRoot: string; runId: string; steps: readonly Step[]; treeHash: string; }): Promise;