import { type BuildContextState } from './build-context.js'; import type { CompactHeightfield } from './compact-heightfield.js'; export declare const buildDistanceField: (compactHeightfield: CompactHeightfield) => void; export declare const buildRegions: (ctx: BuildContextState, compactHeightfield: CompactHeightfield, borderSize: number, minRegionArea: number, mergeRegionArea: number) => boolean; /** * Build regions using monotone partitioning algorithm. * This is an alternative to the watershed-based buildRegions function. * Monotone partitioning creates regions by sweeping the heightfield and * does not generate overlapping regions. */ export declare const buildRegionsMonotone: (ctx: BuildContextState, compactHeightfield: CompactHeightfield, borderSize: number, minRegionArea: number, mergeRegionArea: number) => boolean; /** * Build layer regions using sweep-line algorithm. * This creates regions that can be used for building navigation mesh layers. * Layer regions handle overlapping walkable areas by creating separate layers. */ export declare const buildLayerRegions: (_ctx: BuildContextState, compactHeightfield: CompactHeightfield, borderSize: number, minRegionArea: number) => boolean;