UNPKG

380 BTypeScriptView Raw
1import { AsyncIterableX } from './asynciterablex';
2/**
3 * @ignore
4 */
5export declare function defaultCompareAsync<T>(key: T, minValue: T): Promise<number>;
6/**
7 * @ignore
8 */
9export declare function extremaBy<TSource, TKey>(source: AsyncIterable<TSource>, keyFn: (x: TSource) => TKey | Promise<TKey>, cmp: (x: TKey, y: TKey) => number | Promise<number>): AsyncIterableX<TSource>;