/** * Surface and Heightmap Operations * * Creates 3D surfaces from heightmap data using manifold's levelSet function. */ import type { ManifoldObject } from './types'; /** * Create a surface from heightmap data * * @param data - 2D array of height values or flat Float32Array * @param width - Width of the heightmap (X dimension) * @param depth - Depth of the heightmap (Y dimension) * @param options - Configuration options */ export declare function createSurface(data: number[][] | Float32Array | number[], width: number, depth: number, options?: { center?: boolean; invert?: boolean; scaleX?: number; scaleY?: number; scaleZ?: number; }): ManifoldObject; /** * Parse surface data from various file formats * Supports CSV, space-separated, and binary formats */ export declare function parseSurfaceFile(content: string | ArrayBuffer, format?: 'csv' | 'space' | 'binary'): { data: number[]; width: number; depth: number; }; /** * Create a surface from a mathematical function * * @param fn - Function (x, y) => z * @param bounds - {minX, maxX, minY, maxY} * @param resolution - Number of samples in each direction */ export declare function createSurfaceFromFunction(fn: (x: number, y: number) => number, bounds: { minX: number; maxX: number; minY: number; maxY: number; }, resolution?: number): ManifoldObject; //# sourceMappingURL=surface.d.ts.map