export declare const SCENE_PLAN_SCHEMA: "helix.scene-plan/1"; export type SceneTierName = 'desktop' | 'mobile'; export interface ScenePlan { schema: typeof SCENE_PLAN_SCHEMA; kind: 'open-world'; source: { kind: 'city-source'; path: string; }; /** Scene id; omitted, `scene.`. */ id?: string; title?: string; tiers: SceneTierName[]; /** * Plan metres; omitted, the nearest street to the densest building cell. By default the spawn snaps to the nearest street segment and faces along it. * `exact` keeps (x, z) where it is; `yawDeg` (rotation about Y; 0 faces -z) or `faceTowards` (a plan point to look at) sets the heading; * `clearM` keeps the trees (and nothing else) out of that radius around the spawn (default 12 m). */ spawn?: { x: number; z: number; exact?: boolean; yawDeg?: number; faceTowards?: { x: number; z: number; }; clearM?: number; }; budgetMiB: Record; /** Distance groups activate inside this radius (metres). */ streamRadiusM: number; buildings: { cellM: number; farCellM: number; groundFilter: 'auto' | 'none' | 'min3'; }; /** * `marginM`: low-detail ground out to this far beyond the city's bounds, from the DEM (default 4096; 0 leaves the city a slab). * `ground`: `natural` paints the land no area maps (and that lies off every street) as grass and shore sand; `urban` (default) leaves it paved. * `seaEdgeM`: a fictional map (Cities: Skylines II) has no DEM to continue its ground; this many metres beyond the bounds the border's own height slopes * under the sea (default 0 = off), so the square's edge reads as a coast with water to the horizon, not a hard-edged slab. Use it in place of `marginM`. * `demEdgeRepair`: replace the outermost N source DEM samples of every edge by the sample N in when they differ from it by more than 3 m. A * Cities: Skylines II height map carries a few samples of bogus land along its border; left in, the coarse layer extrudes them past the map as a hard rectangle. * `backdrop`: a Cities: Skylines II capture bundle whose `terrain/backdrop/` holds the game's world map (`src/cs2/backdrop.ts`); with `seaEdgeM`, the land * around the map is that world map (`terrain/backdropLand.ts`) instead of one synthesised from the border. */ terrain: { metresPerSample: 1 | 2 | 4; marginM?: number; ground?: 'urban' | 'natural'; demEdgeRepair?: number; seaEdgeM?: number; backdrop?: string; }; /** `streetTrees`: plant the sidewalks of ground-level streets by road class and land use (default on). */ /** `cs2Trees`: a Cities: Skylines II capture bundle whose own tree meshes and colour sheets draw the source's trees by species (`vegetation/cs2Trees.ts`). */ vegetation: { enabled: boolean; maxTrees: number; streetTrees?: boolean; cs2Trees?: string; }; /** `streetLife`: add lamps, signals, signs, hydrants, benches and bins along the arterials where OpenStreetMap maps none (default on). */ props: { enabled: boolean; streetLife?: boolean; /** A `helix city objects cs2` folder (`objects.json`): the capture's parked cars, ships, boats and landmark bridge towers, placed with the props. */ objects?: string; }; /** * Procedural roads (`helix city roads build`): per 1 km cell meshes and colliders, and the terrain cut/fill under them. * `far` (default true): also write the far road layer, the driving surface of every cell welded, simplified to `farErrorM` (default 0.3 m) * and merged into 2,048 m cells in one eager group, so the street network stays visible beyond the stream radius and from altitude. * `carve` (default true): over a DEM, carve the ground under the roads at every sample stride the engine draws it at (not just the field's own posting), * so the road is not under the coarse terrain; the report carries the share of road vertices under the terrain at each stride, before and after. * `baked`: a folder of the game's own roads (`bakeCs2Roads` then `restyleCs2Roads`, which `helix city convert cs2` writes as `roads-baked/`). The cells, paint, colliders, terrain conform, * far layer and carve come from it instead of the generator: CS2 junctions are solved by the game, not guessed from a centre-line graph. */ roads: { enabled: boolean; far?: boolean; farErrorM?: number; carve?: boolean; baked?: string; }; /** * `asphalt`: which asphalt albedo the packaged city material library carries. `cs2` is the Granit-calibrated one (`assets/city-materials/cs2-asphalt`: darker and * flatter, because a CS2 map is lit by the hot Granit shell and the engine's own asphalt read twice as bright there); `engine` is the engine's. Omitted: `cs2` * when the source is a CS2 import (`frame.projection.kind === 'cs2'`), `engine` otherwise. */ materials?: { asphalt?: 'cs2' | 'engine'; }; publish: { world: string | null; visibility: 'private' | 'unlisted' | 'public'; }; } export declare function defaultScenePlan(sourcePath: string): ScenePlan; export declare function readScenePlan(file: string): ScenePlan;