import { Mesh } from "@babylonjs/core/Meshes/mesh.js"; import { InstancedMesh } from "@babylonjs/core/Meshes/instancedMesh.js"; /** * Class for generating STL data from a Babylon scene. */ export declare class STLExport { /** * Exports the geometry of a Mesh array in .STL file format (ASCII) * @param meshes list defines the mesh to serialize * @param download triggers the automatic download of the file. * @param fileName changes the downloads fileName. * @param binary changes the STL to a binary type. * @param isLittleEndian toggle for binary type exporter. * @param doNotBakeTransform toggle if meshes transforms should be baked or not. * @param supportInstancedMeshes toggle to export instanced Meshes. Enabling support for instanced meshes will override doNoBakeTransform as true * @param exportIndividualMeshes toggle to export each mesh as an independent mesh. By default, all the meshes are combined into one mesh. This property has no effect when exporting in binary format * @returns the STL as UTF8 string */ static CreateSTL(meshes: (Mesh | InstancedMesh)[], download?: boolean, fileName?: string, binary?: boolean, isLittleEndian?: boolean, doNotBakeTransform?: boolean, supportInstancedMeshes?: boolean, exportIndividualMeshes?: boolean): any; }