import type { CliffMask } from "notextures/dist/objects/Terrain/Terrain"; import type { Vector3 } from "three"; import { Entity } from "../../core/Entity"; /** * Returns the z coordinate of point (x, y) on the plane defined by (a, b, c) */ export declare const interpolateZ: ([a, b, c]: readonly [Vector3, Vector3, Vector3], x: number, y: number) => number; export declare class Terrain extends Entity { readonly isTerrain = true; private group; private height; constructor(opts: { width: number; height: number; cliffs: CliffMask; pathing: number[][]; heightMask?: number[][]; waterMask?: number[][]; waterHeightMask?: number[][]; waterHeight?: number; tiles?: { color: string; }[]; }); private lastGroundHeight?; groundHeight(x: number, y: number): number; } export declare type TerrainInterface = { isTerrain: true; groundHeight: Terrain["groundHeight"]; };