/** * Returns an iterator that points to the next min (according to the provided comparator) * This function mutates the original array * @param arr the array (will be reordered) * @param comparator the comparison function to find the minimum by * @returns a generator that yields the position of the next-most-minimum element */ export declare function minGenerator(iterable: Iterable, mapper: (value: S) => T, comparator: (first: T, second: T) => number): Generator;