import type { FullFilter } from "prostgles-types"; import { type SelectItemValidated } from "../DboBuilder/QueryBuilder/QueryBuilder"; export declare const FILTER_OPERANDS: readonly ["$ilike", "$like", "$nilike", "$nlike", ...("?" | "-" | "@@" | "@>" | "<@" | "?|" | "?&" | "||" | "#-" | "@?")[], "=", "<>", ">", "<", ">=", "<=", "$eq", "$ne", "$gt", "$gte", "$lt", "$lte", "$isDistinctFrom", "$isNotDistinctFrom", "$between", "$notBetween", "$in", "$nin"]; export declare const FILTER_OPERAND_TO_SQL_OPERAND: Record<(typeof FILTER_OPERANDS)[number], string>; /** * Parse a single filter * Ensure only single key objects reach this point */ type ParseFilterItemArgs = { filter: FullFilter | undefined; select: SelectItemValidated[] | undefined; tableAliasRaw: string | undefined; allowedColumnNames: string[]; }; export declare const parseFilterItem: (args: ParseFilterItemArgs) => { condition: string; columnsUsed: string[]; } | undefined; export {}; //# sourceMappingURL=Filtering.d.ts.map