/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { ValueModel } from "@matter/model"; /** * Runtime shape of a TypeScript numeric enum: name→number forward lookup, number→name reverse lookup. */ export type EnumLikeObject = { [k: string]: number; } & { [k: number]: string; }; /** * Create a frozen enum object with the runtime shape of a TypeScript numeric enum (forward and reverse mapping). * * Schema is associated via {@link Schema.set} so it can be resolved by `@field` decorators. * * Results are cached per model instance. */ export declare function EnumForValueModel(model: ValueModel): EnumLikeObject; //# sourceMappingURL=EnumForValueModel.d.ts.map