import { type IGLTFExporterExtensionV2 } from "../glTFExporterExtension.js"; import { GLTFExporter } from "../glTFExporter.js"; /** * [Proposed Specification](https://github.com/KhronosGroup/glTF/blob/5cb7518cf9a1bfb8268320026961b21caf5a4aac/extensions/2.0/Vendor/EXT_texture_avif/README.md) * @experimental */ export declare class EXT_texture_avif implements IGLTFExporterExtensionV2 { readonly name = "EXT_texture_avif"; enabled: boolean; required: boolean; private _wasUsed; get wasUsed(): boolean; private _exporter; constructor(exporter: GLTFExporter); dispose(): void; /** * Called after a texture is exported to register the encoded image MIME type. * @param _ - the name of the exported babylon texture (unused) * @param textureInfo - the glTF texture info for the exported texture */ postExportTexture(_: string, textureInfo: BABYLON.GLTF2.ITextureInfo): void; } /** * Registers the EXT_texture_avif glTF serializer extension with the {@link GLTFExporter}. * Safe to call multiple times; only the first call has an effect. */ export declare function RegisterEXT_texture_avif(): void;