export declare enum WhereLogicalOperatorEnum { AND = "$and", OR = "$or" } export declare enum WhereOperatorEnum { EQ = "$eq", NOT_EQ = "$ne", IEQ = "$ieq", GT = "$gt", GT_OR_EQ = "$gte", LT = "$lt", LT_OR_EQ = "$lte", IN = "$in", NOT_IN = "$notIn", LIKE = "$like", NOT_LIKE = "$notLike", ILIKE = "$iLike", NOT_ILIKE = "$notIlike", STARTS_WITH = "$startsWith", ENDS_WITH = "$endsWith", ISTARTS_WITH = "$iStartsWith", IENDS_WITH = "$iEndsWith", IN_L = "$inL", NOT_IN_L = "$notinL", CONT_ARR = "$contArr", INTERSECTS_ARR = "$intersectsArr", IS_NULL = "$isNull", IS_NOT_NULL = "$isNotNull", BETWEEN = "$between", NOT_BETWEEN = "$notBetween", IS_TRUE = "$isTrue", IS_FALSE = "$isFalse", EXISTS = "$exists", NOT_EXISTS = "$notExists" } export declare enum OrderDirectionEnum { ASC = "ASC", DESC = "DESC" } export type WhereObject = { [key: string]: any; $and?: WhereObject | WhereObject[]; $or?: WhereObject | WhereObject[]; }; export type WhereOptions = WhereObject | WhereObject[]; export type RelationObjectValue = { select?: string[]; where?: WhereObject | WhereObject[]; joinType?: 'left' | 'inner'; }; export type RelationObject = Record; export type RelationOptions = string | string[] | RelationObject; export declare enum AggregateFnEnum { COUNT = "count", SUM = "sum", AVG = "avg", MIN = "min", MAX = "max" } export interface AggregateSpec { fn: AggregateFnEnum | 'count' | 'sum' | 'avg' | 'min' | 'max'; field: string; as: string; distinct?: boolean; where?: WhereOptions; } //# sourceMappingURL=types.d.ts.map