1 | import { ExtremaOptions } from './extremaoptions';
|
2 | /**
|
3 | * * Returns the minimum element with the optional selector.
|
4 | *
|
5 | * @export
|
6 | * @template TSource The type of the elements in the source sequence.
|
7 | * @param {AsyncIterable<TSource>} source An async-iterable sequence to determine the minimum element of.
|
8 | * @param {ExtremaOptions<TSource, TKey>} [options] The options which include an optional comparer and abort signal.
|
9 | * @returns {Promise<TSource>} A promise containing the minimum element.
|
10 | */
|
11 | export declare function min<TSource, TResult = TSource>(source: AsyncIterable<TSource>, options?: ExtremaOptions<TSource, TResult>): Promise<TResult>;
|