import { type BuildingColliderOptions } from './buildingBoxes'; import { type DeckColliderOptions } from './deckColliders'; export interface PrefixSource { read(path: string): Promise; readRange(path: string, offset: number, length: number): Promise; } export declare function prefixSource(base: string): PrefixSource; export interface ApplyOptions { source: PrefixSource; /** The root's folder name under `scene/`. */ rootName: string; /** The folder name the new root is written as. */ newRootName: string; buildings: Partial & { enabled: boolean; }; decks: Partial & { enabled: boolean; roadCellM: number; }; log: (message: string) => void; concurrency?: number; } export interface ApplyResult { files: Array<{ path: string; bytes: Uint8Array; }>; report: Record; } export declare function applyColliders(options: ApplyOptions): Promise; export declare function writeFiles(out: string, files: ApplyResult['files']): Promise;