import { loadConfig } from "../config.js"; import { buildContactSheet } from "../capture/sheet.js"; import type { ShotRecord } from "../types.js"; import { type Parsed } from "../util.js"; export interface CaptureOutcome { runId: string; /** The fold this run walked: web, devices, or both. */ platforms: string[]; shots: number; findings: { errors: number; warnings: number; infos: number; }; failures: { target: string; route: string; step: string; message: string; }[]; reportPath: string; evidenceDir: string; /** Labelled composite of this run's shots, for the calling session to read. */ contactSheet?: string | null; } /** Shared by capture/check: run the web engine per current flags. */ export declare function runCapture(parsed: Parsed): Promise<{ outcome: CaptureOutcome; resolved: Awaited>; }>; export declare function capture(parsed: Parsed): Promise; /** * Composite a set of shots into a labelled sheet under the evidence directory. * Shared with `check` and `verify-fix`, which pass finding counts so the tiles * carrying defects are marked. */ export declare function runContactSheet(resolved: Awaited>, shots: ShotRecord[], findingsByShot?: Map, outName?: string): Promise>>; /** The shots one run produced, for a run-scoped sheet. */ export declare function shotsOfRun(resolved: Awaited>, runIdValue: string): Promise;