import { DtoMeasurement, DtoValueWithUnit } from "./CatalogueAPI.js"; /** * Measures can be used to Anchor items (Models or Additional Products). * * Measures originates in Models, and can then be used in Products. There is nothing stopping * having multiple Models in the same Product that use the same Measure name. If so it is ambiguous * which of the Models in the Product to anchor to. * * Measure Priority tries to solve this by allowing MeasureParams to contain an ordered list * containing which Model should have highest priority (i.e. gets "first dibs") when Anchoring. * * Unfortunately the solution is currently a bit limited - we can not differentiate between Models * pointing to the same URL in a Product. However, we consistently pick the first one. * Lower index = higher priority */ export declare type CfgMeasurePriority = { index: number; modelLocalFilePath: string; }; /** * This class strips the Measurement of things that are not actually used or relevant * to Stage, specifically anchoring and stretching. Measurements can also contain * volume and area, but these are ignored. Here Measures are used to define defaults * such as its preferences when dealing with ambiguity or its default value. */ export declare class CfgMeasureDefinition { readonly measureParamCode: string; readonly numericValue: DtoValueWithUnit | undefined; readonly measurePriorities: CfgMeasurePriority[]; static make(measurement: DtoMeasurement): CfgMeasureDefinition | undefined; private constructor(); } //# sourceMappingURL=CfgMeasure.d.ts.map