export declare const CS2_BACKDROP_SCHEMA = "helix.cs2-terrain-backdrop/1"; export interface Cs2BackdropManifest { schema: typeof CS2_BACKDROP_SCHEMA; /** What in the game the heights were read from (provenance). */ source: string; /** Samples per row and column. */ res: { x: number; z: number; }; /** Float32 LE metres in CS2 entity space, row-major HELIX x then HELIX z. */ bin: string; /** HELIX x/z of sample [0, 0] (sample centres). */ originMetres: { x: number; z: number; }; metresPerSample: number; /** The world map's extent (HELIX frame) and the playable square inside it. */ world: { minX: number; minZ: number; sizeX: number; sizeZ: number; }; seaLevelMetres: number; /** RGBA8 PNG over `world` (texel centres), row 0 at the smallest HELIX z; R grass, G dirt, B rock as the game paints them. */ splat?: string; saveName?: string; } export interface Cs2Backdrop { manifest: Cs2BackdropManifest; heights: Float32Array; splat: { width: number; height: number; rgba: Uint8Array; } | null; /** Scene Y (CS2 metres minus sea level) at a HELIX plan point, bilinear, clamped to the grid. */ heightAt(x: number, z: number): number; /** The game's ground classes at a plan point, bilinear: [grass, dirt, rock], each 0..1 (null without a splat). */ splatAt(x: number, z: number): [number, number, number] | null; } /** The bundle's backdrop, or null when the capture predates it (no `terrain/backdrop/backdrop.json`). */ export declare function readCs2Backdrop(bundleRoot: string): Promise; export declare function makeCs2Backdrop(manifest: Cs2BackdropManifest, heights: Float32Array, splat: Cs2Backdrop['splat']): Cs2Backdrop; /** Bumped when the surround built from a backdrop changes (part of the landscape stage's signature). */ export declare const CS2_BACKDROP_VERSION = 2; /** Whether a bundle carries the game's world map. */ export declare function hasCs2Backdrop(bundleRoot: string): boolean;