import type { VisualQaAssert, VisualQaFrame } from '../visualQa/types'; export declare const INSPECTION_SCHEMA = "helix.vehicle-inspection/1"; /** Sheet width in px. Tiles are downscaled to fit; a sheet is a JPEG of a few hundred KB, readable in one image turn. */ export declare const SHEET_WIDTH = 1280; export interface InspectionSheet { id: string; file: string; title: string; look: string[]; tiles: number; missing: string[]; } export interface InspectionIndex { schema: typeof INSPECTION_SCHEMA; verdict: 'pass' | 'fail'; car: string; engineVersion: string | null; /** Read the sheets in this order; each `look` is the question to answer from that sheet alone. */ sheets: InspectionSheet[]; /** The executable occupant asserts (vehicle.occupants.*) and preview.inspection.complete. */ asserts: Array<{ id: string; pass: boolean; severity: 'block' | 'warn'; detail: string; }>; } export declare const LOOK: Record; export interface WriteInspectionInput { out: string; carName: string; engineVersion: string | null; frames: VisualQaFrame[]; facts: Record; asserts: VisualQaAssert[]; } /** Lay out the sheets and the index; returns the index and the `preview.inspection.complete` assert. */ export declare function writeInspectionSheets(input: WriteInspectionInput): Promise<{ index: InspectionIndex; complete: VisualQaAssert; dir: string; }>;