export { MAX_GRID_TILES, TILE_CELLS, TILE_SAMPLES, assertSampleSpacing, assertTileCount, createHeightGrid, curvature, fieldHeightRange, gridForTiles, heightAt, isHoleAt, normalizedHeight, sampleFieldHeight, sampleIndex, slopeDeg, tileMetres, tileMetresFor, type HeightGrid, type SampleField, } from './grid'; export { basinStamp, billowFbm, clamp, craterStamp, domainWarp, domeStamp, duneStamp, fbm, hash2, makeRng, mix, radialMask, rectMask, ridgedFbm, smoothstep, softMax, softMin, valueNoise, type BasinStamp, type CraterStamp, type DomeStamp, type DuneStamp, } from './noise'; export { SPAWN_PLATEAU_BLEND_M, SPAWN_PLATEAU_RADIUS_M, generateTerrain, type GenerateTerrainOptions } from './generate'; export { importTerrain, importTerrainSamples, type ImportTerrainOptions, type ImportTerrainSamplesOptions, type TerrainImportFormat, type TerrainSampleSource, } from './import'; export { deriveIsland, islandPreset, bakeOceanBathymetry, type IslandOptions, type OceanBathymetry, type OceanBathymetryOptions, } from './island'; export { COARSE_STRIDE_SAMPLES, SPLAT_PIXELS_PER_TILE, coarseMapMetresPerTexel, encodeTerrainField, fieldToSampleField, gridFromTerrainSource, holesFromMask, terrainHeightRange, tileTerrain, type TerrainCoarse, type TerrainFoldedRole, type TerrainProvenance, type TerrainResample, type TerrainSource, type TerrainSplat, type TerrainTile, type TileTerrainOptions, } from './tile'; export { TERRAIN_PRESET_IDS, isTerrainPresetId, loadPreset, terrainMaterialFromPreset, validateTerrainPreset, type TerrainPreset, type TerrainPresetId, type TerrainPresetRule, } from './presets'; export { SPLAT_CHANNELS, bakeTerrainSplats, readTerrainSplatSource, type BakeTerrainOptions, type TerrainSplatChannel, type TerrainSplatSource, } from './bake'; export { NORMAL_CHANNELS, NORMAL_NEAR_LOSSLESS_STEP, bakeNormalMap, encodeNormalPixels, encodeNormalPng, quantizeUpResiduals, type NormalRegion, type TerrainNormalMap } from './normals'; export { TERRAIN_SOURCE_MANIFEST, TERRAIN_SOURCE_SCHEMA, readTerrainSource, readTerrainSourceIndex, writeTerrainSource, type TerrainSourceFile, type TerrainSourceIndex, type TerrainSourceLayerIndex, } from './source'; export { formatTerrainInspection, inspectTerrainSource, type TerrainInspection } from './inspect';