import { ExpressionType, DataValueType, LiteralExpression, AttributeExpression, FunctionExpression, Expression, FunctionType, FunctionInfo, ComputedFieldExpression, Descriptor, MappingFieldRef, ComputedFieldRef } from '../../state/index.js'; export declare function fetchFunctionInfo(name: string): FunctionInfo | undefined; export declare const newLiteralExpression: (type: ExpressionType.Number | ExpressionType.String | ExpressionType.Date | ExpressionType.Boolean, value: DataValueType) => LiteralExpression; export declare const newAttributeExpression: (productId: string, alias: string) => AttributeExpression; export declare const newFunctionExpression: (functionName: FunctionType, isAggregate: boolean, ...args: Array) => FunctionExpression; export declare const newComputedFieldExpression: (computedFieldId: string) => ComputedFieldExpression; export declare function getComputedFieldId(computedField: ComputedFieldExpression): string; export declare function getExpressionType(expression: Expression): ExpressionType; export declare function getLiteralValue(literal: LiteralExpression): DataValueType; export declare function getAttributeFrom(attribute: AttributeExpression): string; export declare function getAttributeOn(attribute: AttributeExpression): string; export declare function getFunctionValue(functionExpression: FunctionExpression): string; export declare function getFunctionOperands(functionExpression: FunctionExpression): Array; export declare function functionOperandByIndexValidator(functionExpression: FunctionExpression, operandIndex: number): void; export declare function getFunctionOperandByIndex(functionExpression: FunctionExpression, operandIndex: number): Expression; export declare function getFunctionIsAggregate(functionExpression: FunctionExpression): boolean; export declare function getFunctionExpressionString(functionExpression: FunctionExpression): string; export declare function isAggregateField(descriptor: Descriptor, computedField: ComputedFieldExpression): boolean; export declare const fromMappingFieldRef: (field: MappingFieldRef) => AttributeExpression; export declare const fromComputedFieldRef: (field: ComputedFieldRef) => ComputedFieldExpression; export declare function isComputedField(expression: Expression): expression is ComputedFieldExpression;