import { ExtremaOptions } from './extremaoptions'; /** * Returns the maximum element with the optional selector. * * @export * @template TSource The type of the elements in the source sequence. * @param {AsyncIterable} source An async-iterable sequence to determine the maximum element of. * @param {ExtremaByOptions} [options] The options which include an optional comparer and abort signal. * @returns {Promise} The maximum element. */ export declare function max(source: AsyncIterable, options?: ExtremaOptions): Promise;