export type Comparator = (a: T, b: T) => number; export declare const defaultComparator: (a: T, b: T) => number;