/**
 * 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 ValueSpecificationVisitor, ValueSpecification } from './ValueSpecification.js';
import type { GenericTypeReference } from '../packageableElements/domain/GenericTypeReference.js';
import type { EnumValueReference } from '../packageableElements/domain/EnumValueReference.js';
/**
 * NOTE: Theoretically {@link InstanceValue} is the only metamodel available in Pure.
 * Its subtypes are created in Studio so that we can narrow down the types of `values`
 * since we don't have powerful type matching like in Pure. Also, due to that, these
 * subtypes of {@link InstanceValue}  make it easier to transform metamodel back into protocol.
 * See https://github.com/finos/legend-engine/blob/94cd0aff3b314e568e830773f7200c8245baa09b/legend-engine-pure-code-compiled-core/src/main/resources/core/pure/protocol/vX_X_X/transfers/valueSpecification.pure#L254
 *
 * @discrepancy model
 */
export declare class InstanceValue extends ValueSpecification implements Hashable {
    values: unknown[];
    get hashCode(): string;
    accept_ValueSpecificationVisitor<T>(visitor: ValueSpecificationVisitor<T>): T;
}
export declare class PrimitiveInstanceValue extends InstanceValue implements Hashable {
    genericType: GenericTypeReference;
    constructor(genericType: GenericTypeReference);
    get hashCode(): string;
    accept_ValueSpecificationVisitor<T>(visitor: ValueSpecificationVisitor<T>): T;
}
export declare class EnumValueInstanceValue extends InstanceValue implements Hashable {
    values: EnumValueReference[];
    constructor(genericType: GenericTypeReference);
    get hashCode(): string;
    accept_ValueSpecificationVisitor<T>(visitor: ValueSpecificationVisitor<T>): T;
}
export declare class CollectionInstanceValue extends InstanceValue implements Hashable {
    values: ValueSpecification[];
    get hashCode(): string;
    accept_ValueSpecificationVisitor<T>(visitor: ValueSpecificationVisitor<T>): T;
}
//# sourceMappingURL=InstanceValue.d.ts.map