/** * Model build budgets. PROVISIONAL: these only raise warnings, and the numbers are placeholders until they are set * from the first real modeler output. Raise or lower them here, nowhere else. */ export declare const MODEL_BUDGETS: Readonly<{ /** Visual triangles across the whole model. */ triangles: 60000; /** Distinct Palette slots; each slot is one draw call. */ slots: 8; /** Parts (meshes) in the program's tree. */ parts: 300; /** Collider triangles after baking every flag and proxy. */ colliderTriangles: 20000; }>; export type ModelBudgets = { triangles: number; slots: number; parts: number; colliderTriangles: number; }; /** The project art styles a build can be budgeted for (the Dreamer brief's `artStyle`). */ export declare const MODEL_STYLES: readonly ["realistic", "hand-painted", "low-poly"]; export type ModelStyle = (typeof MODEL_STYLES)[number]; /** Per-style budgets: realistic is the global default; the stylized looks read wrong with fine detail, so they get less. */ export declare const MODEL_BUDGETS_BY_STYLE: Readonly>>; /** A model stands on y = 0: its lowest point must be within this many metres of the ground. */ export declare const GROUNDED_TOLERANCE_M = 0.02; /** The Node lane's default wall-clock limit for one build. */ export declare const DEFAULT_BUILD_TIMEOUT_MS = 20000; /** * Loop iterations plus function calls one build may run before it fails with `loop-budget`. Workers do not advance the * clock during pure CPU work and local workerd enforces no CPU limit, so a counter is the only deterministic stop. */ export declare const MODEL_LOOP_BUDGET = 20000000;