import { type IMaterial } from "babylonjs-gltf2interface"; import { type IGLTFExporterExtensionV2 } from "../glTFExporterExtension.js"; import { GLTFExporter } from "../glTFExporter.js"; import { type Material } from "@babylonjs/core/Materials/material.js"; import { type BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture.js"; /** * @internal */ export declare class KHR_materials_fuzz implements IGLTFExporterExtensionV2 { /** Name of this extension */ readonly name = "KHR_materials_fuzz"; /** Defines whether this extension is enabled */ enabled: boolean; /** Defines whether this extension is required */ required: boolean; private _wasUsed; private _exporter; constructor(exporter: GLTFExporter); /** * Cache that holds temporary merged textures created during export */ private _mergedTexturesMap; /** * Cache that holds internal textures of merged textures created during export */ private _cachedInternalTexturesMap; dispose(): void; /** @internal */ get wasUsed(): boolean; postExportMaterialAdditionalTexturesAsync(context: string, node: IMaterial, babylonMaterial: Material): Promise; postExportMaterialAsync(context: string, node: IMaterial, babylonMaterial: Material): Promise; } /** * Registers the KHR_materials_fuzz glTF serializer extension with the {@link GLTFExporter}. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterKHR_materials_fuzz(): void;