export class UsdzExporter extends CoreExporter { /** * Maps a mesh to a reference (path) inside the usdz container * * @type {Map} */ meshMap: Map; /** * Maps a material to a reference (path) inside the usdz container * * @type {Map} */ materialMap: Map; /** * A list of generated material usda contents, which are processed at the end */ materials: any; /** * A map of texture requests * * @type {Map} */ textureMap: Map; /** * A set of used node names. Used in order to keep them unique. * * @type {Set} */ nodeNames: Set; /** * An object, storing a mapping between the file name and its content. Used as input to fflate to * zip up the data. * * @type {object} */ files: object; init(): void; done(): void; /** * Converts a hierarchy of entities to USDZ format. * * @param {Entity} entity - The root of the entity hierarchy to convert. * @param {object} options - Object for passing optional arguments. * @param {number} [options.maxTextureSize] - Maximum texture size. Texture is resized if over the size. * @returns {Promise} - The USDZ file content. */ build(entity: Entity, options?: { maxTextureSize?: number; }): Promise; alignFiles(): void; getFileIds(category: any, name: any, ref: any, extension?: string): { name: any; fileName: string; refName: string; }; getTextureFileIds(texture: any): { name: any; fileName: string; refName: string; }; addFile(category: any, uniqueId: any, refName?: string, content?: any): string; getMaterialRef(material: any): string; getMeshRef(mesh: any): string; buildArray2(array: any): string; buildArray3(array: any): string; buildMat4(mat: any): string; buildMaterial(material: any): string; buildMesh(mesh: any): string; buildMeshInstance(meshInstance: any): string; } import { CoreExporter } from "./core-exporter.js";