import { WhereOptions } from "sequelize"; import { Where } from "sequelize/types/utils"; export declare enum FilterOperatorTypes { Equal = "equal", NotEqual = "not_equal", In = "in", NotIn = "not_in", Less = "less", LessOrEqual = "less_or_equal", Greater = "greater", GreaterOrEqual = "greater_or_equal", Between = "between", NotBetween = "not_between", IsNull = "is_null", IsNotNull = "is_not_null", BeginsWith = "begins_with", NotBeginsWith = "not_begins_with", EndsWith = "ends_with", NotEndsWith = "not_ends_with", Contains = "contains", NotContains = "not_contains", IsEmpty = "is_empty", IsNotEmpty = "is_not_empty" } export interface CustomOperator { name: string; where?: WhereOptions | ((value: any) => WhereOptions); having?: Where; operator?: FilterOperatorTypes; } export type FilterOperators = FilterOperatorTypes | string; export declare const SelectOperators: FilterOperatorTypes[]; export declare const StringOperators: FilterOperatorTypes[]; export declare const NumberOperators: FilterOperatorTypes[]; export declare const DateOperators: FilterOperatorTypes[]; export declare const NullOperators: FilterOperatorTypes[];