import type { DemWindow } from './window'; /** * GLO-30 is a surface model, and in a skyscraper canyon the radar returns small pits (downtown San Francisco has 3-4 sample wide * holes 18 m below sea level on a 20 m hill). A pit is a connected cluster of samples more than `depthM` under the median of * their 7 x 7 neighbourhood; clusters of at most `maxSamples` are filled with that median, while larger ones are real basins * (quarries, docks, lakes under the surface model) and stay. Mutates `window.heights` in place, so `sampleAt` sees it, and * recomputes `min`/`max`. Returns how many samples were filled. */ export declare function despikeDemWindow(window: DemWindow, opts?: { depthM?: number; maxSamples?: number; }): number;