import type { AreaKind, BuildingUse, RoadClass, RoadStructure, RoadSurface } from '../../source'; export interface RoadPrefabClass { class: RoadClass; surface: RoadSurface; /** A structure the prefab itself names (subway = tunnel, suspension bridge = bridge). */ structure?: RoadStructure; } /** Why a road prefab is not a road of this city source, or the class it becomes. */ export type RoadPrefabVerdict = { ok: true; value: RoadPrefabClass; } | { ok: false; reason: string; }; export declare function classifyRoadPrefab(name: string): RoadPrefabVerdict; export type AreaVerdict = { ok: true; kind: AreaKind; } | { ok: false; reason: string; }; export declare function classifyAreaPrefab(name: string): AreaVerdict; export declare function buildingUse(prefab: string): BuildingUse; /** 'eu' / 'na' from the prefab prefix CS2 puts on its regional building sets, else null. */ export declare function buildingRegion(prefab: string): 'eu' | 'na' | null; /** Mixed-use sets carry shops at street level. */ export declare function hasStorefront(prefab: string): boolean;