/** * How an ended visit reads on its one line, and whether it ended the * sequence it was in: the two readings of a `visit_end` the live view makes. */ import type { CheckedNode } from "../checked.ts"; import type { VisitEnd } from "../run/index.ts"; /** * What the one line of an ended visit says: why it failed, or the agent that * ran it, the case a `choice` took, the iterations of a loop and whether it * converged, how many items or branches a block joined and how many of them * failed under `on-fail: continue`. */ export declare function outcome(node: CheckedNode, end: VisitEnd): string[]; /** * Whether `end` stopped the sequence `node` is in, as the walk decides it: * a failure `on-fail: continue` does not absorb, and a stop or a cut, which * nothing absorbs. */ export declare function stopsSequence(node: CheckedNode, end: VisitEnd): boolean; //# sourceMappingURL=outcome.d.ts.map