export declare enum GroupBy { DAY = "DAY", WEEK = "WEEK", MONTH = "MONTH", YEAR = "YEAR" } export type AggregateQueryField = { field: keyof DTO; args: ARGS; }; export type AggregateQueryCountField = AggregateQueryField; export type AggregateQuerySumField = AggregateQueryField; export type AggregateQueryAvgField = AggregateQueryField; export type AggregateQueryMaxField = AggregateQueryField; export type AggregateQueryMinField = AggregateQueryField; export type AggregateQueryGroupByField = AggregateQueryField; export type AggregateQuery = { count?: AggregateQueryCountField[]; sum?: AggregateQuerySumField[]; avg?: AggregateQueryAvgField[]; max?: AggregateQueryMaxField[]; min?: AggregateQueryMinField[]; groupBy?: AggregateQueryGroupByField[]; };