import { Ord } from 'fp-ts/lib/Ord'; import { Ordering } from 'fp-ts/lib/Ordering'; export * from 'fp-ts/lib/Ord'; /** * Determines ordering of two numbers (numeric comparison) */ export declare const numericCompare: (x: number, y: number) => Ordering; /** * Ord instance for number */ export declare const ordNumeric: Ord; /** * Determines ordering of two strings (alphabetic comparison) */ export declare const alphaCompare: (x: string, y: string) => Ordering; /** * Ord instance for string */ export declare const ordAlpha: Ord; export declare const ordStringByLocaleLowerCase: Ord; /** * Comparator for RecordWithName, comparing lowercase names alphabetically */ export declare const recordWithNameLowerComparator: (a: A, b: A) => Ordering; /** * Ord instance for types extending the RecordWithName interface * that does comparisons & equality checking against the name prop * converted to lowercase */ export declare const ordRecordWithNameLower: Ord<{ name: string; }>; /** * Inverts an Ord instance * @param o */ export declare const invert: (o: Ord) => Ord; /** * Returns an Ord for a tuple that only compares the first element * @param ord */ export declare const getTupleOrdFst: (ord: Ord) => Ord<[A, B]>; /** * Returns an Ord for a readonly tuple that only compares the first element * @param ord */ export declare const getReadonlyTupleOrdFst: (ord: Ord) => Ord; /** * Returns an Ord for a tuple that only compares the second element * @param ord */ export declare const getTupleOrdSnd: (ord: Ord) => Ord<[A, B]>; /** * Returns an Ord for a readonly tuple that only compares the second element * @param ord */ export declare const getReadonlyTupleOrdSnd: (ord: Ord) => Ord; export declare const ordDateFromString: Ord;