import { type HelixSceneV2, type ScenePerfItemHostInput, type ScenePerfReport, type ScenePerfTier } from '@hypersoniclabs/helix-manifest'; import type { ScenePerfSource } from './source'; /** The input cannot be judged at all (unreadable document, files missing): exit 2, never a verdict. */ export declare class ScenePerfInputError extends Error { } export type RunScenePerfInput = { /** The parsed Scene v2 document. */ scene: unknown; source: ScenePerfSource; /** Default `['desktop']`: a document is built for one tier. */ tiers?: ScenePerfTier[]; profile?: string; itemHost?: ScenePerfItemHostInput; validator?: string; }; export type RunScenePerfOutput = { report: ScenePerfReport; scene: HelixSceneV2; /** The digest the document will carry once sealed. A draft's declared digest may differ. */ integrity: { declared: string | undefined; computed: string; }; inspected: { glb: number; textures: number; }; }; export declare function scenePerfValidatorId(): string; /** Evaluate the whole perf contract for one Scene package: byte rules here, document rules from helix-manifest. */ export declare function runScenePerf(input: RunScenePerfInput): Promise;