import type { TerrainLevel } from '../types/terrain.types'; /** * Densify a terrain palette to `targetCount` levels by linearly interpolating * thresholds, heights, colours, metalness and roughness between consecutive * anchors of the source palette. * * The last anchor's threshold is preserved as `Infinity` so the catch-all * semantic stays intact. Returns the palette unchanged when `targetCount` * is smaller than or equal to the source length, or when the source has * fewer than two anchors. * * @param palette - Source palette (≥ 2 anchors, sorted ascending by threshold). * @param targetCount - Desired total level count (≥ palette.length). * @returns Expanded palette with exactly `targetCount` levels. */ export declare function subdividePalette(palette: TerrainLevel[], targetCount: number): TerrainLevel[]; //# sourceMappingURL=paletteSubdivide.d.ts.map