/** * Decide whether to include a recorded artifact path in published evidence. * * Returns the path only when the producer confirms it actually wrote (or, for a * surface that attempts the write inline, attempted to write) the artifact. When * `wrote` is false the producer is declaring "I have no artifact here" and the * reference is dropped so the bundle never claims evidence that does not exist. * * This is intentionally producer-driven, not status-driven: a successful step that * failed to write its file should pass `wrote: true` (it believes it wrote one) so * the strict verifier still catches the broken producer. Only a step whose recorded * evidence IS the failure passes `wrote: false`. */ export declare function artifactReferenceIfWritten(path: string | undefined, wrote: boolean): string | undefined; /** * True when a captured surface/step recorded a real screenshot artifact that the * producer wrote. A blocked capture/step whose evidence is the failure itself wrote * no screenshot, so it has no `screenshotPath` to reference. */ export declare function hasWrittenScreenshot(capture: { screenshotPath?: string; }): boolean;