/** * This file is based on https://github.com/mziccard/node-timsort * MIT licensed: https://github.com/mziccard/node-timsort/blob/master/LICENSE.md */ import { type PlainEvaluator, type Value } from '#self'; export type Comparer = (x: Value, y: Value) => PlainEvaluator; /** * Sort an array using TimSort. * * @param array - The array to sort. * @param compare - Item comparison function. */ export declare function sort(array: Value[], compare: Comparer): PlainEvaluator; //# sourceMappingURL=sort.d.mts.map