/** * Opening-panel COVERAGE for `helix vehicle validate` (docs/vehicles.md ยง6): a car should open what the real car opens. * * WHY THIS EXISTS. Round 8's Ferrari F40 articulated its two doors and nothing else: the bonnet, engine cover and boot * were part of the body shell, so the owner's `-` / `=` keys did nothing. The package was valid (the contract does not * require a lid) and the preview passed (it exercises every panel the package DECLARES), so a fixed lid was never * flagged. Per-panel validity is not coverage; this is the coverage half. * * Every car has doors; a car also has a bonnet/hood and a boot/trunk (or engine cover / rear clamshell / tailgate, which * all declare `role: boot`). A WARNING, not a refusal: a model that really lacks separate lid geometry is a legitimate * (if lesser) car, and the warning then says how to split it. Skipped for anything that is not a four-wheeled car * (motorcycles, boats, aircraft have different panels). * * Pure: the package JSON, the parsed glTF and the node facts walked by validate.ts. No I/O. */ import type { Gltf, NodeFacts, VehicleIssue } from './validate'; type Json = Record; export type PanelRole = 'door' | 'bonnet' | 'boot'; /** The roles the package articulates, from `mesh.articulation.panels[]` and the `componentBuild.articulators` that move them. */ export declare function declaredPanelRoles(pkg: Json | undefined): { roles: Set; panelNodes: Set; panels: Array<{ id: string; role: string; nodes: string[]; }>; }; export interface PanelCoverageInput { pkg: Json | undefined; gltf: Gltf; facts: Map; /** How many of the four wheel ids resolved by name; the check applies to four-wheeled cars only. */ wheelsFound: number; } export declare function checkPanelCoverage(input: PanelCoverageInput): VehicleIssue[]; export {};