import { ResolveTree } from "graphql-parse-resolve-info"; import { Node, Relationship } from "../../classes"; import { Context, RelationField, ConnectionField } from "../../types"; import { AggregationAuth } from "./field-aggregations-auth"; export declare enum AggregationType { Int = "IntAggregateSelection", String = "StringAggregateSelection", BigInt = "BigIntAggregateSelection", Float = "FloatAggregateSelection", Id = "IDAggregateSelection", DateTime = "DateTimeAggregateSelection" } export declare function getFieldType(field: ResolveTree): AggregationType | undefined; export declare function getReferenceNode(context: Context, relationField: RelationField): Node | undefined; export declare function getReferenceRelation(context: Context, connectionField: ConnectionField): Relationship | undefined; export declare function getFieldByName(name: string, fields: Record): ResolveTree | undefined; export declare function serializeAuthParamsForApocRun(auth: AggregationAuth): Record; //# sourceMappingURL=utils.d.ts.map