import { ExtensionProperty, type IProperty, type Nullable, PropertyType, RefSet } from '@gltf-transform/core'; import { KHR_MATERIALS_VARIANTS } from '../constants.js'; import type { Mapping } from './mapping.js'; interface IMappingList extends IProperty { mappings: RefSet; } /** * List of material variant {@link Mapping}s. See {@link KHRMaterialsVariants}. */ export declare class MappingList extends ExtensionProperty { static EXTENSION_NAME: typeof KHR_MATERIALS_VARIANTS; extensionName: typeof KHR_MATERIALS_VARIANTS; propertyType: 'MappingList'; parentTypes: [PropertyType.PRIMITIVE]; protected init(): void; protected getDefaults(): Nullable; /** Adds a {@link Mapping} to this mapping. */ addMapping(mapping: Mapping): this; /** Removes a {@link Mapping} from the list for this {@link Primitive}. */ removeMapping(mapping: Mapping): this; /** Lists {@link Mapping}s in this {@link Primitive}. */ listMappings(): Mapping[]; } export {};