export declare type Primitive = string | boolean | number | null | undefined;
declare type Comparator<T = Primitive> = (a: T, b: T) => number;
export declare const Comparators: Readonly<{
    default: (direction?: "asc" | "desc") => (v1: Primitive, v2: Primitive) => number;
    reverse: <T>(comparator: Comparator<T>) => Comparator<T>;
    value<T_1>(valueCallback: (value: T_1) => Primitive, comparator?: Comparator<Primitive> | undefined): Comparator<T_1>;
    property<T_2>(prop: string, comparator?: Comparator<Primitive> | undefined): Comparator<T_2>;
}>;
export {};
