/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Mei } from "../common/Mei.js"; import { FieldElement } from "../elements/index.js"; import { Model } from "./Model.js"; import { PropertyModel } from "./PropertyModel.js"; export declare class FieldModel extends PropertyModel implements FieldElement { tag: FieldElement.Tag; title?: string; get fabricSensitive(): boolean; /** * Whether this is an enum member that stands for a range of values, such as a manufacturer-specific range. Such a * member has no ID; its constraint states the range. */ get isEnumRange(): boolean; /** * Fields may omit their ID. In this case we use their index within the parent as the ID, except for an * {@link isEnumRange enum range}, which has none. */ get effectiveId(): Mei | undefined; /** * The key for bitmap fields and {@link isEnumRange enum ranges} is the constraint which defines the range. All * other fields use the default key. */ get key(): string | undefined; constructor(definition: Model.Definition, ...children: Model.ChildDefinition[]); toElement(omitResources?: boolean, extra?: Record): FieldElement; static Tag: import("../common/ElementTag.js").ElementTag; } //# sourceMappingURL=FieldModel.d.ts.map