/** @internal */ export declare function createCmp(cmp: (a: T, b: T) => boolean): (...items: T[]) => T;