/**
 * @license
 * Copyright 2022-2024 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import type { ValueModel } from "../models/ValueModel.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 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(model: ValueModel, ifValid?: boolean): any;
//# sourceMappingURL=DefaultValue.d.ts.map