/** * The spec line that first reached each region of a case, as the recorder * gathers it from the drains of a cut spec ([`documents.ts`](./documents.ts)). * * Every drain before a statement hands over the line that ran since the drain * before; what it finds that the case had not reached is charged to that line. */ import type { ExecutedModule, ObservedCase } from '@variance-authority/sense/journal'; import type { Accumulated } from './accumulated.js'; export interface ReachedLines { /** * Charge each region a window holds to `line`, unless the case reached it * before: under an earlier line, or under none, which is ambient and stays so. */ readonly charge: (key: string, before: Accumulated, modules: readonly ExecutedModule[], line: number) => void; /** The lines a case was drained with, as {@link ObservedCase.lines} carries them; none for one never charged. */ readonly of: (key: string) => ObservedCase['lines']; } /** The lines of every case one worker drains, by the key its cases are held under. */ export declare function reachedLines(): ReachedLines; //# sourceMappingURL=reached-lines.d.ts.map