/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type Hashable } from '@finos/legend-shared'; import type { PackageableElementVisitor } from '../PackageableElement.js'; import { Type } from './Type.js'; import { DataType } from './DataType.js'; import type { RawLambda } from '../../rawValueSpecification/RawLambda.js'; export declare class Unit extends DataType implements Hashable { measure: Measure; /** * Studio does not process value specification, they are left in raw JSON form * * @discrepancy model */ conversionFunction?: RawLambda | undefined; constructor(name: string, measure: Measure, conversionFunction: RawLambda | undefined); get hashCode(): string; accept_PackageableElementVisitor(visitor: PackageableElementVisitor): T; } export declare class Measure extends Type implements Hashable { canonicalUnit?: Unit | undefined; nonCanonicalUnits: Unit[]; protected get _elementHashCode(): string; accept_PackageableElementVisitor(visitor: PackageableElementVisitor): T; } //# sourceMappingURL=Measure.d.ts.map