import type { BakedPrimitive } from './bakedCell'; /** Real-world widths, metres: lane lines 0.10 to 0.15, edge lines 0.15 to 0.20, stop lines 0.30 to 0.40. */ export declare const MARKING_WIDTH_M: { readonly lane: 0.15; readonly edge: 0.2; readonly stop: 0.4; }; export interface RibbonStats { ribbons: number; lane: number; edge: number; stop: number; /** Ribbons left as the game drew them (neither width class). */ untouched: number; } export declare const emptyRibbonStats: () => RibbonStats; /** * Widens the ribbons of `prim` in place. `onRoad(x, y, z)` says whether asphalt lies under a point at about that height; * with none given every white line is a lane line. */ export declare function widenRibbons(prim: BakedPrimitive, onRoad: ((x: number, y: number, z: number) => boolean) | null, stats: RibbonStats): void;