export interface PatchSceneRoadsInput { /** The sealed document to patch (read only). */ sceneFile: string; /** The folder that holds the restyled `roads/` and receives the document and the library files. */ out: string; /** City material library pack, used as it is; default the CLI's own with the CS2 asphalt textures (`library.ts`). */ library?: string; /** Keep the engine's own asphalt textures (the engine goldens' lighting) instead of the CS2 calibration. */ engineAsphalt?: boolean; /** A carved terrain source folder (`terrainCarve.ts`) that replaces the document's terrain heights and normal maps; its files are the bundle's `terrain/`. */ terrainDir?: string; /** A placements bake (`placements.json` + `objects/`) that replaces the document's placements: the trees re-seated on the carved terrain (`placements/snap.ts`). Its files are the bundle's `placements/`. */ placementsDir?: string; } export interface PatchSceneRoadsResult { sceneFile: string; bytes: number; validation: string; removed: { resources: number; nodes: number; streamGroups: number; collisionSets: number; }; added: { resources: number; nodes: number; streamGroups: number; collisionSets: number; libraryResources: number; }; /** Terrain resources whose bytes changed (heights and normal maps of the tiles and the coarse layer the carve rewrote). */ terrainResourcesUpdated?: number; /** Placements resources swapped for the snapped bake's (files added, files the old declaration owned and the new one does not). */ placements?: { added: number; removed: number; }; /** Library slots that are not the engine's textures (the CS2 asphalt calibration). */ libraryOverridden: string[]; /** Siblings of the source document linked into `out` so it can serve as a `--base` folder. */ linked: string[]; } export declare function patchSceneRoads(input: PatchSceneRoadsInput): Promise;