/** * What a finding keeps of the check and the capture behind it. * * A deterministic finding used to survive ingestion as an attribute, a region * and one rendering element; the rest of what the check recorded (every * element a rule fired on, the error's location, the offending path) was * written into prose once and then gone. Kept here, bounded, it can be listed * in the document and re-explained without a re-capture. The bounds matter * because backlog.json is committed with the project: a rule that fires on a * thousand elements is a thousand elements the check knows about, not a * thousand lines in git. */ import type { CheckRecord, ViewFacts } from "./lib.js"; import type { DeterministicFinding, ShotRecord } from "../types.js"; /** * The check's record, minus the provenance join, which the finding already * carries as `renderedBy` and which is a list of selectors the sidecar * describes better. */ export declare function checkRecordOf(df: DeterministicFinding): CheckRecord; /** The facts about the view the shot record carries, when it carries any. */ export declare function viewOf(shot: ShotRecord): { view?: ViewFacts; };