/** A plain indexed triangle mesh decoded from a PLY. */ export interface TriangleMeshData { readonly vertexCount: number; readonly triangleCount: number; /** `x, y, z` per vertex, in the file's own coordinate frame. */ readonly positions: Float32Array; /** Three vertex indices per triangle, into {@link positions}. */ readonly indices: Uint32Array; } /** * Parses a binary little-endian triangle-mesh PLY. * * Faces with more than three vertices are fan-triangulated; degenerate faces * (fewer than three) are dropped. Coordinates are passed through untouched, so * a source-local frame stays source-local - an LCC2 mesh needs the same * `createLcc2ToThreeMatrix` correction its splats get. * * @throws {Error} if the file is not a binary little-endian PLY, lacks a * usable vertex or face element, or is truncated. */ export declare function parseMeshPly(buffer: ArrayBuffer): TriangleMeshData;