import type { ArtifactRow, Layer, Measurements, ToolRow } from "./targets"; export const CH = { snapshot: "pack:snapshot", refresh: "pack:refresh", } as const; export type EventRow = { at: number; kind: string; detail: string; }; export type Check = { id: string; label: string; pass: boolean; detail: string; }; export type Snapshot = { platform: string; electronVersion: string; nodeVersion: string; layers: Layer[]; artifacts: ArtifactRow[]; tools: ToolRow[]; measurements: Measurements; checks: Check[]; score: number; events: EventRow[]; };