import type { VisualQaAssert } from '../../visualQa/types'; export declare const AVATAR_CHECK_SCHEMA = "helix.avatar-check/1"; export declare const AVATAR_INSPECTION_SCHEMA = "helix.avatar-inspection/1"; /** The three clips the production Marketplace viewer plays (its own `/anims/{idle,walk,run}.glb`). */ export type MotionId = 'walk' | 'run' | 'idle'; /** A finding the tool raises. `severity: 'block'` fails the gate (exit 1); `warn` is reported only. */ export type CheckAssert = VisualQaAssert; /** One image of an inspection sheet. `file` is absolute; null = the tile was never rendered (the sheet shows NOT RENDERED). */ export interface SheetTile { file: string | null; caption: string; } /** A candidate tile beside the Base Female control tile taken at the same motion phase and the same camera direction. */ export interface SheetPair { caption: string; candidate: SheetTile; control: SheetTile | null; } /** The input of the sheet composer (sheets.ts). `look` is the one-line question an agent must answer from this sheet alone. */ export interface SheetSpec { id: string; title: string; look: string; /** Pairs per row (1..3). Each pair is drawn candidate | control. */ perRow: number; /** Tiles are cropped to a centred 3:4 portrait (front/back views of a figure that is narrow in the frame). */ portrait?: boolean; pairs: SheetPair[]; } export interface InspectionSheet { id: string; file: string; title: string; look: string; tiles: number; missing: string[]; } export interface InspectionIndex { schema: typeof AVATAR_INSPECTION_SCHEMA; verdict: 'pass' | 'warn' | 'fail' | 'error'; avatar: string; control: string; /** Read the sheets in this order; each `look` is the question to answer from that sheet alone. */ sheets: InspectionSheet[]; asserts: Array<{ id: string; pass: boolean; severity: 'block' | 'warn'; detail: string; }>; /** Always present: a passing check is a floor, not a quality verdict. */ note: string; }