import { type HeightGrid } from './grid'; import { type TerrainPresetId } from './presets'; /** Radius of the flat ground under the spawn, and the metres it takes to blend back into the landform. */ export declare const SPAWN_PLATEAU_RADIUS_M = 40; export declare const SPAWN_PLATEAU_BLEND_M = 40; export interface GenerateTerrainOptions { seed: number; tilesX: number; tilesZ: number; preset: TerrainPresetId; originX?: number; originZ?: number; seaLevel?: number; /** The authoring grid's spacing; the landform is evaluated in metres, so a coarser grid is the same shape sampled less often. */ metresPerSample?: number; } /** * A deterministic landform for `tilesX` x `tilesZ` tiles. Same inputs, byte-identical heights: the collider the * browser builds is quantized from these samples, so a machine-dependent result would desync physics. */ export declare function generateTerrain(options: GenerateTerrainOptions): HeightGrid;