/** * Function that can be used to sort collections. The semantics are the same as the first argument to Array#sort function. * @public */ export type IComparator = (a: T, b: T) => number; /** * Direction of the comparator. * @public */ export type ComparatorDirection = "asc" | "desc"; /** * Creates a new string-based comparator. * * @internal */ export declare const stringComparatorFactory: (valueAccessor: (obj: TInput) => string | undefined) => (direction: ComparatorDirection) => IComparator; /** * Creates a new date-string-based comparator. * * @internal */ export declare const dateStringComparatorFactory: (valueAccessor: (obj: TInput) => string | undefined) => (direction: ComparatorDirection) => IComparator; //# sourceMappingURL=comparators.d.ts.map