import { BufferGeometry, InstancedMesh } from "three"; import { Material } from "three/src/materials/Material"; import { IFragmentGeometry, IFragmentMesh } from "./base-types"; export declare class FragmentMesh extends InstancedMesh implements IFragmentMesh { material: Material[]; geometry: IFragmentGeometry; elementCount: number; private exportOptions; private exporter; constructor(geometry: BufferGeometry, material: Material | Material[], count: number); exportData(): { position: Float32Array; normal: Float32Array; index: number[]; blockID: number[]; groups: number[]; materials: number[]; matrices: number[]; }; export(): Promise; private newFragmentGeometry; private static initializeGroups; private static newMaterialArray; }