import { NoInfer } from '../interfaces/helper.types'; import { ArrayDoesNotExist, ArrayExists, Contains, DoesNotContain, DoesNotEndWith, DoesNotEqual, DoesNotExist, DoesNotHaveElement, DoesNotStartWith, EndsWith, Equals, Exists, HasAllElements, HasAnyOfTheElements, HasElement, HasElementThatMatches, HasNoElementThatMatches, HasNoneOfTheElements, IsGreaterThan, IsGreaterThanOrEqual, IsLesserThan, IsLesserThanOrEqual, IsNoneOfTheValues, IsOneOfTheValues, NestedCriteria, ObjectArrayDoesNotExist, ObjectArrayExists, ObjectDoesNotExist, ObjectExists, StartsWith } from '../interfaces/search/search.conditions'; import { SearchCriteria } from '../interfaces/search/search.criteria.interface'; export declare const SearchBy: { /** Checks if property equals value. */ Equals: (value: T) => Equals; /** Checks if property does not equal value, assuming the parent object exists. */ DoesNotEqual: (value: T_1) => DoesNotEqual; /** Checks if property exists, assuming the higher level object exists. */ Exists: () => Exists; /** Checks if array exists and is not empty, assuming the higher level object exists. */ ArrayExists: () => ArrayExists; /** Checks if object exists, assuming the higher level object exists. */ ObjectExists: () => ObjectExists; /** Checks if object array exists and is not empty, assuming the higher level object exists. */ ObjectArrayExists: () => ObjectArrayExists; /** Checks if property does not exist, assuming the higher level object exists. */ DoesNotExist: () => DoesNotExist; /** Checks if array does not exist or is empty, assuming the higher level object exists. */ ArrayDoesNotExist: () => ArrayDoesNotExist; /** Checks if object does not exist, assuming the higher level object exists. */ ObjectDoesNotExist: () => ObjectDoesNotExist; /** Checks if object array does not exist or is empty, assuming the higher level object exists. */ ObjectArrayDoesNotExist: () => ObjectArrayDoesNotExist; /** Checks if string starts with a specified prefix. */ StartsWith: (prefix: string) => StartsWith; /** Checks if string does not start with specified prefix. */ DoesNotStartWith: (prefix: string) => DoesNotStartWith; /** Checks if string ends with a specified suffix. */ EndsWith: (suffix: string) => EndsWith; /** Checks if string does not ends with specified prefix. */ DoesNotEndWith: (suffix: string) => DoesNotEndWith; /** Checks if string constains substring. */ Contains: (substring: string) => Contains; /** Checks if string does not contain specified substring. */ DoesNotContain: (substring: string) => DoesNotContain; /** Checks if number or date is greater than specified value. */ IsGreaterThan: (value: T_2) => IsGreaterThan; /** Checks if number or date is greater than or equal specified value. */ IsGreaterThanOrEqual: (value: T_3) => IsGreaterThanOrEqual; /** Checks if number or date is lesser than specified value. */ IsLesserThan: (value: T_4) => IsLesserThan; /** Checks if number or date is lesser than or equal specified value. */ IsLesserThanOrEqual: (value: T_5) => IsLesserThanOrEqual; /** Checks if property is one of the values. */ IsOneOfTheValues: (value: T_6[]) => IsOneOfTheValues; /** Checks if property is none of the values. */ IsNoneOfTheValues: (value: T_7[]) => IsNoneOfTheValues; /** Checks if array contains element. */ HasElement: (value: T_8) => HasElement; /** Checks if array does not contain element. Matches undefined and null arrays (if parent object exists). */ DoesNotHaveElement: (value: T_9) => DoesNotHaveElement; /** Checks if array has any of the elements. */ HasAnyOfTheElements: (value: T_10[]) => HasAnyOfTheElements; /** Checks if array has none of the elements. Matches undefined and null arrays (if parent object exists). */ HasNoneOfTheElements: (value: T_11[]) => HasNoneOfTheElements; /** * Checks if array contains all elements. * Do not use inside HasNoElementThatMatches clause! */ HasAllElements: (value: T_12[]) => HasAllElements; /** Checks if nested array contains element that matches criteria. Requires explicit type `HasElementThatMatches`. */ HasElementThatMatches: (value: SearchCriteria>) => HasElementThatMatches>; /** Checks if nested array contains no elements that match criteria. Requires explicit type `HasNoElementThatMatches`. */ HasNoElementThatMatches: (value: SearchCriteria>) => HasNoElementThatMatches>; /** Checks if nested object matches criteria. Requires explicit type `NestedCriteria`. */ NestedCriteria: (value: SearchCriteria>) => NestedCriteria>; }; //# sourceMappingURL=search.by.helper.d.ts.map