import type { HelixSceneV2 } from '@hypersoniclabs/helix-manifest'; export interface TerrainSplatCutReport { uri: string; levels: number; from: [number, number]; to: [number, number]; before: number; after: number; } export interface TerrainSplatCutPlan { files: Map; report: TerrainSplatCutReport | null; } /** One halving of an RGBA weight map: each channel's mean over the 2 x 2 block, rounded so a pixel whose taps sum to 255 per tap still sums to 255. */ export declare function halveSplatPixels(rgba: Uint8Array, width: number, height: number): { width: number; height: number; rgba: Uint8Array; }; /** Halves the coarse splat the document `base` declares (`terrain.coarse.splat`), as {@link planTerrainNormalCut} does the normal map. */ export declare function planTerrainSplatCut(base: HelixSceneV2, landDir: string, levels: number): TerrainSplatCutPlan;