import type { CityBuilding, CitySource } from '../source'; export interface PickedSpawn { x: number; z: number; yawDeg: number; clearM: number; reason: string; /** The downtown the point was chosen near. */ downtown: { x: number; z: number; buildings: number; }; } /** Terrain height at a plan point from the source's DEM raster (bilinear), or `null` when the source has none. */ export declare function demHeightSampler(source: CitySource): ((x: number, z: number) => number) | null; /** The densest downtown: the 256 m cell, summed with its eight neighbours, holding the most height-weighted buildings (a tower counts for far more than a house). */ export declare function findDowntown(buildings: readonly CityBuilding[]): { x: number; z: number; buildings: number; } | null; export declare function pickConvertSpawn(source: CitySource, options?: { clearM?: number; }): PickedSpawn | null;