/**
 * @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.
 *
 * This code assumes defaults have been previously validated (e.g. by model validator).  It throws errors for a few
 * structural issues but generally returns undefined if the model's default value cannot be converted to the correct
 * type.
 *
 * @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