import type { GeometryScriptParamSpec, GeometryScriptParamValue } from '@pascal-app/core'; /** * The value a param takes when the object is built without one: the script's * declared default, clamped to its range as the compile does, so a default * declared outside its own range still compares equal after a reset. */ export declare function scriptDefault(spec: GeometryScriptParamSpec): GeometryScriptParamValue; /** Whether `value` is what the script gives the param by default (a missing value is). */ export declare function isScriptDefault(spec: GeometryScriptParamSpec, value: GeometryScriptParamValue | undefined): boolean; /** The edit that puts every param changed from its script default back to it. */ export declare function scriptDefaultsPatch(specs: GeometryScriptParamSpec[], params: Record): Record; //# sourceMappingURL=script-param-defaults.d.ts.map