/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import type { ValueModel } from "../models/ValueModel.js"; import { Scope } from "./Scope.js"; /** * Obtain a native JS default value for a ValueModel. * * Validation is not required: a default that cannot be converted is treated as absent, as is the "no value" marker * an override uses to remove a default (see {@link FieldValue.stated}). The usual synthesized default may then be * returned for arrays, objects, and bitmaps. It throws errors for a few structural issues. * * @param scope the scope in which the model is referenced * @param model the model from which the default value is extracted * @param ifValid some structs only have partial defaults defined so would be invalid; do not return these */ export declare function DefaultValue(scope: Scope, model: ValueModel, ifValid?: boolean): any; //# sourceMappingURL=DefaultValue.d.ts.map