import type { Knex } from 'knex'; import type { Ctx } from '../types'; type WhereCtx = Ctx & { alias?: string; isGroupRoot?: boolean; }; /** * Process where parameter */ declare function processWhere(where: Record, ctx: WhereCtx): Record; declare function processWhere(where: Record[], ctx: WhereCtx): Record[]; type Where = { $and?: Where[]; $or?: Where[]; $not?: Where; [key: string]: any; } | Array; declare const applyWhere: (qb: Knex.QueryBuilder, where: Where) => Knex.QueryBuilder | undefined; export { applyWhere, processWhere }; //# sourceMappingURL=where.d.ts.map