import { Mesh } from "../form/Mesh";
import { NDArrayInt8 } from "../ndarray/NDArray";
/** Read an STL file (binary or ASCII) into a triangle mesh, off the main thread. */
export declare function readStl(data: ArrayBuffer | Uint8Array): Promise<Mesh>;
/** Read an OBJ file (triangles only) into a triangle mesh, off the main thread. */
export declare function readObj(data: ArrayBuffer | Uint8Array): Promise<Mesh>;
/** Serialize a mesh to binary STL format, off the main thread. */
export declare function writeStl(mesh: Mesh): Promise<NDArrayInt8>;
/** Serialize a mesh to ASCII OBJ format, off the main thread. */
export declare function writeObj(mesh: Mesh): Promise<NDArrayInt8>;
//# sourceMappingURL=async.d.ts.map