/**
 * 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 INTERNAL__UnknownValueSpecification, type LambdaFunction, AbstractPropertyExpression, SimpleFunctionExpression, type RelationColumn, type FunctionExpression } from '@finos/legend-graph';
import { type QueryBuilderState } from '../../../QueryBuilderState.js';
/**
 *  process project()
 *  variants could be:
 *  Person.all()->project([x|x.firmID], ['Id'])
 *  Person.all()->project(x|x.firmID, ['Id'])
 *  Person.all()->project([x|x.firmID], 'Id')
 *  Person.all()->project(x|x.firmID, 'Id')
 *  Person.all()->project(col({p:my::Person[1]|$p.firmID}, 'Id'))
 *  Person.all()->project([ col({p:my::Person[1]|$p.firmID}, 'Id') ])
 */
export declare const processTDSProjectExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
export declare const processTDSProjectionColumnPropertyExpression: (expression: AbstractPropertyExpression, columnName: string | undefined, queryBuilderState: QueryBuilderState) => void;
export declare const processTDSRelationColumn: (parentExpression: FunctionExpression, columnName: string | undefined, col: RelationColumn, queryBuilderState: QueryBuilderState) => void;
export declare const processTDSProjectionDerivationExpression: (value: INTERNAL__UnknownValueSpecification, columnName: string | undefined, parentExpression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
export declare const processTDSColExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
/**
 * Process `precedingExpr->select(~[a, b])` — relation-style column
 * selection. Each ColSpec in the array provides only a column name; the
 * actual `RelationColumn` is resolved against the source relation type.
 */
export declare const processTDSSelectExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
export declare const processTDSTakeExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
export declare const processTDSDistinctExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
export declare const processTDSSortExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
export declare const processTDSSliceExpression: (exp: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
export declare const processTDSSortDirectionExpression: (expression: SimpleFunctionExpression, parentExpression: SimpleFunctionExpression | undefined, queryBuilderState: QueryBuilderState) => void;
export declare const processRelationSortDirectionExpression: (expression: SimpleFunctionExpression, parentExpression: SimpleFunctionExpression | undefined, queryBuilderState: QueryBuilderState) => void;
//# sourceMappingURL=QueryBuilderProjectionStateBuilder.d.ts.map