/**
 * 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 Accessor, type AccessorOwner, DataProductAccessor } from '../../../../../graph/metamodel/pure/packageableElements/relation/Accessor.js';
import { RelationType } from '../../../../../graph/metamodel/pure/packageableElements/relation/RelationType.js';
import type { V1_GraphBuilderContext } from '../transformation/pureGraph/to/V1_GraphBuilderContext.js';
import { RelationElementsData } from '../../../../../graph/metamodel/pure/data/EmbeddedData.js';
import type { RawLambda } from '../../../../../graph/metamodel/pure/rawValueSpecification/RawLambda.js';
import type { AbstractPureGraphManager } from '../../../../AbstractPureGraphManager.js';
import type { PureModel } from '../../../../../graph/PureModel.js';
import type { PureProtocolProcessorPlugin } from '../../PureProtocolProcessorPlugin.js';
import { type V1_Accessor } from '../model/valueSpecification/raw/classInstance/relation/V1_RelationStoreAccessor.js';
import { type DataProduct } from '../../../../../graph/metamodel/pure/dataProduct/DataProduct.js';
import type { V1_AccessPointImplementation } from '../lakehouse/deploy/V1_DataProductArtifact.js';
/**
 * Builds a metamodel `RelationType` from the cached `lambdaGenericType` on a
 * `V1_AccessPointImplementation`. Returns `undefined` if the implementation
 * does not carry a relation-typed generic type.
 *
 * Column types are resolved against the supplied `PureModel`.
 */
export declare const V1_buildRelationTypeFromAccessPointImplementation: (apImpl: V1_AccessPointImplementation, graph: PureModel, relationTypeName?: string | undefined) => RelationType | undefined;
/**
 * Creates an appropriate Accessor from a packageable element.
 *
 * For IngestDefinition: requires `datasetName` to identify the dataset.
 * For Database: requires `schemaName` and `tableName` to identify the table.
 */
export declare const V1_createAccessorFromPackageableElementWithNonFunctionSources: (element: AccessorOwner, context: V1_GraphBuilderContext, options?: {
    schemaName?: string | undefined;
    tableName?: string | undefined;
}) => Accessor | undefined;
export declare const V1_createAccessorFromPackageableElement: (element: AccessorOwner, context: V1_GraphBuilderContext, graphManager: AbstractPureGraphManager, options?: {
    schemaName?: string | undefined;
    tableName?: string | undefined;
}) => Promise<Accessor | undefined>;
export declare const V1_buildDataProductAccessor: (element: DataProduct, context: V1_GraphBuilderContext, graphManager: AbstractPureGraphManager, options?: {
    tableName?: string | undefined;
}) => Promise<DataProductAccessor | undefined>;
export declare const V1_buildRelationElementsDataFromAccessors: (accessorsForParent: Accessor[]) => RelationElementsData;
export declare const V1_resolveAccessorsFromRawLambda: (rawLambda: RawLambda, graphManager: AbstractPureGraphManager, plugins: PureProtocolProcessorPlugin[], graph?: PureModel | undefined) => V1_Accessor[] | undefined;
//# sourceMappingURL=V1_AccessorHelper.d.ts.map